1
Answer

post and get data from HTML to excel

Sir .. please help me in posting data into excel,  and getting same data from reports option ..
this is my code.
<!DOCTYPE html>
<html>
<body bgcolor="lightgreen"><form id="form" method="post">
<center>
<h2>Data Management</h2>
<img src="D:\AnApplication\imges\logo.png" height=60 width=60/>
<h2>T Bhongir</h2>
<table border=0><tr>
<input type=button onClick="parent.location='Home CSS.html'" Value="Home" >
<input type=button Value="Get Report">
</table>
<table border=0 width=800>
</table>
<br>
<table border=0 width=800>
<tr>
<td >Date of Application:<input type="date" id="date"></td>
<td align="center"width="50%">Application ID:<input type="number" id="addOne()" ></td>
</tr>
</table>
<table border=1 width=800>
<tr>
<td width="50%" height=40>Name of Village:
<td>
<select>
<option value="Select">Select</option>
<option>Anajipur</option>
<option>Anantaram</option>
<option>Bandasommaram</option>
<option>Baswapur</option>
<option>Bhagayath Bhongir</option>
<option>Bhongir</option>
<option>Bollepalli</option>
<option>Bommaipalli</option>
<option>Chandupatla</option>
<option>Cheemalakondur</option>
<option>Gousnagar</option>
<option>Hanumapur</option>
<option>Hussainabad</option>
<option>Kesaram</option>
<option>Kunur</option>
<option>Musthyalapalli</option>
<option>Nagireddypalli</option>
<option>Nandanam</option>
<option>Pagidipalli</option>
<option>Penchikalpahad</option>
<option>Ramachandrapur</option>
<option>Rayagiri</option>
<option>Surepalli</option>
<option>Tajpur</option>
<option>Timmapur</option>
<option>Tukkapu</option>
<option>Veeravelli</option>
<option>Wadaparti</option>
<option>Yerrambelli</option>
</select>
</td>
</td>
</tr>
<tr>
<td height=40>Name of Applicant:
<td><input type="text" size=48.5>
<tr>
<td>Application about:
<td><p><textarea rows="4" cols="50"></textarea>
<tr>
<td height=40>Mobile Number:
<td><input type="mobilenumber" maxlength="10">
</tr>
</table>
<br>
<input type="reset" onclick="clearFields()" value="Reset" />
<input type="submit" value="Submit now" />
</form>
<script type="text/javascript">
function clearFields() {
document.getElementById("form").reset=""
}
</script>
<script type="text/javascript">
var count = 0;
function addOne(){
count++;
alert(count);
} </script>
<script>
function nub
</script>
</body>
</html>
 

Answers (1)