Re: [SOLVED]: what to do with the <return> key
Re: [SOLVED]: what to do with the <return> key
- Subject: Re: [SOLVED]: what to do with the <return> key
- From: Baiss Eric Magnusson <email@hidden>
- Date: Tue, 6 Mar 2007 11:34:12 -0800
<input type="submit" style="position:fixed;visibility:hidden;"/>
worked to dis-able the <return> key in a form from going to the first
<Submit> button on the page.
Thanks to a lot of folks for submitting other potential ideas for
solving the problem.
From: Sam Barnum <email@hidden>
Using display:none causes the browser (Safari, anyway) to ignore the
button when it's looking for the first submit button in a form.
style="visibility:hidden" does not have this behavior.
Probably the best way to ensure it doesn't mess up your layout is to
give it a position:fixed attribute. This will remove it from the
flow of the rest of the document. So, the final button might look
like this:
<input type="submit" style="position:fixed;visibility:hidden;"/>
----
Baiss Eric Magnusson
<http://www.Track-Your-Finances.com>
<http://www.CascadeWebDesign.com>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden