Author: chris0406 | Posted on: 5/18/2010 2:08:15 PM | Views : 417

Hello, I have a page where a user can type a From & To address, which brings up a new window w/ directions. In order to bring up the page in a new window, I'm using an HTML Button (not a Button Control). 
The problem I'm having is when a user hits the enter key. I tried setting the default button for the pane, but quickly learned this isn't allowed. 
I added some Javascript to capture when the enter key is hit, but this isn't working right on Firefox & the iPhone Mobile Safari browser.
Is there a standard way to make an HTML Button the default button of a panel?
Ideally, I could use a Button Control, prevent it from going to the server & only execute the javascript. Is this possible?
...

Go to the complete details ...