Enter key, forms... problem...

sidnijs

Newcomer
Joined
Jul 26, 2006
Messages
7
I have page [asp 2.0] that have loginstatus button!

and also "search tool", emm.. you know: textbox and button...

the problem is - everytime i enter some text in search textbox and don't press button, but ENTER key, loginstatus button works and i'm logged out... :(

it looks smth like that:

Code:
<html>
<head>
........
</head>
<body>
<form id = "form1" runat = "server">
      ...........
      ...........
      loginstatus1.......
      .........
      textbox_search....
      button_search....
      .............
</form>
</body>
</html>


do i have to create form tags to each - loginstatus button and "search tool"???

but there can be only one form tag[whit runat server] per page!

:confused:
 
Back
Top