I'm having two table and both table containing a save button when i enter text in textboxes and press enter then save button of particular table should be called.
remember save button is in after a cancel button..
I'm uploading my text please help me..
<table>
<tr>
<td>
First Name
</td>
<td>
<asp:TextBox ID="txtboxFirstName" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
Last Name
</td>
<td>
<asp:TextBox ID="txtboxLastName" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
Address
</td>
<td>
<asp:TextBox ID="txtboxAddress1" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<asp:Button ID="btnReset" runat="server" Text="Cancel" OnClick="btnReset_Click" />
<asp:Button ID="btnSave" runat="server" Text="Save" OnClientClick="javascript:return std()"
OnClick="btnSave_Click" />
</td>
</tr>
</table>
<hr />
<table>
<tr>
<td>
College Id
</td>
<td>
<asp:TextBox ID="txtclgId" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td>
College Name
</td>
<td>
<asp:TextBox ID="txtclgName" runat="server"></asp:TextBox>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<asp:Button ID="Button1" runat="server" Text="Cancel" />
<asp:Button ID="Button2" runat="server" Text="Save" OnClientClick="javascript:return clg()" />
</td>
</tr>
</table>
Thanx A lot in advance
Pradeep Patel 8483094947