I dont want to use forms.
I want to have a submit button and send some information on submitting a button.
<div id="tab" >
<table>
<td>Num</th>
<tr>Name </th>
</td>
<td> <tr> Num</td>
<tr>Name2 </th>
</td>
</table>
<input type="submit" id="mysubmit1" Value="Submit this" />
</div>
<script>
$('#tab').submit(function(e) {
//some code here.
}
</script>
I am having issue in getting the submit button get the reference so that I can get all the content.
I tried div.tab also. am I missing anything in this context
Why don’t you try something like
Then create
functionusingjavascript