Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #14435
| Message-ID | <1630066.2Dj5kTfcKN@PointedEars.de> (permalink) |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Organization | PointedEars Software (PES) |
| Date | 2012-06-10 23:18 +0200 |
| Subject | Re: special problem with form |
| Newsgroups | comp.lang.javascript |
| References | <4fd4fbd3$0$2054$426a34cc@news.free.fr> |
| Followup-To | comp.lang.javascript |
Followups directed to: comp.lang.javascript
jmrw wrote: ^^^^ Who? > For my pages like this one : > > http://www.jmrw.com/Chess/Kopnin/base.htm > > I would like to select the next item of the form by clicking on the > picture on right or on the photo on left. > > Is it possible Yes. > and how? Put references to all relevant element objects in an Array (or NodeList). Keep a counter for that object. On click, increase or reset the counter (the `%' operator comes in handy), then call the specified object's focus() method. <http://jibbering.com/faq/#posting> PointedEars -- Danny Goodman's books are out of date and teach practices that are positively harmful for cross-browser scripting. -- Richard Cornford, cljs, <cife6q$253$1$8300dec7@news.demon.co.uk> (2004)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
special problem with form "jmrw" <jmrw@free.fr> - 2012-06-10 21:56 +0200 Re: special problem with form Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-06-10 23:18 +0200
csiph-web