Put the submit button first is the simplest most-straightforward answer.. If having cancel appear on the page first is a requirement that can't be worked around, put both buttons in <div>s and use css to position the <div>s so the cancel-div appears first.
The "click the first button looks through the html it doesn't scan the appearence of the page.
Abdullah Jibaly wrote:


Hi all,

I have a form with an <html:cancel /> followed by an <html:submit />.

How can I get the submit to be activated when enter is pressed inside a text 
box on that form? It is activating cancel right now.

Thanks,
Abdullah

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to