Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

focus on a button

Status
Not open for further replies.

thefrstgatsby

Technical User
May 8, 2004
113
CA
I am working on a website that when a user is logged in it loads a couple sub pages into the main page.

ie. once logged in, on a particular page, it loads a logout page (which is as big as a 1 inch high banner, and then a search form, all on the same page, but they are separate aspx pages.

The problem I am having is that when a user enters some search criteria, and then presses enter, instead of acting as if the user has clicked the search button, it clicks the logoff button.

How do I set the page so that when the enter button is pressed, it acts as if the search button has been pressed?
 
You should have a look at the form you use for searching and maybe change the HTML. If you would make the search button a input type=submit it should already work.


And then silence smacks right in there...
... And it is loud!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top