joecool2005 Posted September 11, 2008 Share Posted September 11, 2008 Hi,On the following code <html><head><script runat="server"> Sub searchSin(ByVal sender As Object, ByVal e As EventArgs) Response.Write(myText.Text) End Sub </script></head><body><form id="form1" runat="server"><asp:TextBox id="myText" runat="server" MaxLength=11/><asp:Button id=Button1 runat="server" Text="submit" OnClick="searchSin"/></form></body></html> When I type in the field and press "Enter" immediately, it does not work. I have to use my mouse and click on the button.Do you know why I can not press "Enter"?Thx Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.