Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #16283

Re: Position cursor on a specific field on my form

Newsgroups comp.lang.javascript
Subject Re: Position cursor on a specific field on my form
From "Evertjan." <exxjxw.hannivoort@inter.nl.net>
References <5302f115-0cbc-48fa-8e31-85d6a03357a5@googlegroups.com>
Message-ID <XnsA0DEE39E55766eejj99@194.109.133.133> (permalink)
Date 2012-09-30 20:22 +0000

Show all headers | View raw


 wrote on 30 sep 2012 in comp.lang.javascript:

>  I have a form with field fields and I am validating the content of the
>  field after submitting the form but I would like to know how can I
>  send the cursor to a specific field so user re-enter the a correct
>  value in the form 

yourElement.focus();

-- 
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Position cursor on a specific field on my form neobat@gmail.com - 2012-09-29 19:55 -0700
  Re: Position cursor on a specific field on my form "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-09-30 20:22 +0000
  Re: Position cursor on a specific field on my form dann90038@gmail.com - 2012-09-30 14:05 -0700
    Re: Position cursor on a specific field on my form Dr.Kral@nyc.rr.com - 2012-09-30 18:51 -0400
      Re: Position cursor on a specific field on my form "Mel Smith" <med_cutout_syntel@aol.com> - 2012-09-30 18:12 -0600

csiph-web