Gmunky Posted April 25, 2007 Share Posted April 25, 2007 I have two buttons on a page ,one is a print screen button and another a search button. The problem is when I press the enter key in the keyboard, the print button is triggered. What's a way so when I press enter, the search button will be activated instead of the print button? Quote Link to comment Share on other sites More sharing options...
veridicus Posted April 25, 2007 Share Posted April 25, 2007 Browsers use the first submit-type button within the form. You'll have to switch the order of your buttons on the page. Quote Link to comment Share on other sites More sharing options...
AndyB Posted April 25, 2007 Share Posted April 25, 2007 You'll have to switch the order of your buttons on the page. ... or move the print screen button out of the form. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.