1 function SaveTerms() {
2 if (window.event.keyCode == 13) {
3 window.event.cancelBubble = true;
4 window.event.returnValue = false;
5 document.getElementById('ctl00_ContentPlaceHolder1_cmdSaveTerms').click();
6 }
7 }<
The button :
1 <asp:textbox id="txtPerc1" runat="server" cssclass="textbox_enabled2" readonly="False" width="58px" onkeypress="javascript:SaveTerms();"></asp:TextBox>
No comments:
Post a Comment