So if you have multiple submit buttons on a page (bad UI IMO) then you need to insure that each submit button is in its own form and then when page loads just have the form you want the submit button to work on return keypress be in focus ay page load.
Makes sense?
Sent from my iPad
On Mar 1, 2012, at 4:14 AM, steBear <stefano@doctorbear.net> wrote:
> hi,
> i have a page with a complex form. The form contain a input text and
> many input submit.
> I will change the focus default behaviour: when the browser open the
> page the focus is on a specific input-submit (ie: if the user hit
> return key is the same that click on this button). When the user write
> data in the input-text the focus change and if the user hit the return
> key i sthe same that click on a second input-submit.
> It is possible ?
> Need a particular java script ?
>
> IMHO is not a uncommon problem, but is difficult search the web for a
> solution because has no specific keyword.
>
> thank
> ste
>
> --
> --
> You received this because you are subscribed to the "Design the Web with CSS" at Google groups.
> To post: css-design@googlegroups.com
> To unsubscribe: css-design-unsubscribe@googlegroups.com
--
--
You received this because you are subscribed to the "Design the Web with CSS" at Google groups.
To post: css-design@googlegroups.com
To unsubscribe: css-design-unsubscribe@googlegroups.com
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.