now i try.
Thank for the help

On Mar 1, 3:18 pm, "Mike G." <deafni...@gmail.com> wrote:
> You can't focus in on a submit button using js. This is actually the wrong 
> list since it is a CSS list.  But to answer your question, by default the 
> browser associates the return key press as clicking on the FIRST or LAST 
> submit button on a page of the form that is focused!
>
> 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 <stef...@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-unsubscr...@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-unsubscr...@googlegroups.com

Reply via email to