Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #26092
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Prevent Drop-downs from showing |
| Date | Fri, 07 Nov 2014 13:56:44 +0100 |
| Organization | PointedEars Software (PES) |
| Lines | 25 |
| Message-ID | <9271849.S5ITpJ9GIt@PointedEars.de> (permalink) |
| References | <37302ad5-2e60-4a3a-ab43-9c3bbb95ac5c@googlegroups.com> <XnsA3DE5A5541384eejj99@194.109.133.133> |
| Reply-To | Thomas 'PointedEars' Lahn <cljs@PointedEars.de> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | 8Bit |
| X-Trace | solani.org 1415365011 10669 eJwFwQkBACAIA8BKKAyhDs/6R/AO6sf7mcMNBEOEygqbrNRRsO9Ux27z9qncSEcZVMQS7wMtLhFD (7 Nov 2014 12:56:51 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Fri, 7 Nov 2014 12:56:51 +0000 (UTC) |
| User-Agent | KNode/4.14.2 |
| X-User-ID | eJwNx8kNADEIA8CWFoyJKIdj6b+ERPMawsX7mNON+8SgQ34ya7Z09nXFGjJmEeDpz6a61DXSu5BkFw2Z0LxqFRYR |
| Cancel-Lock | sha1:gisMFuWDioAS7ONYx2GE4I/GwRc= |
| X-NNTP-Posting-Host | eJwNycERwCAMA7CZUmxDxoEU7z8C+elOHArVhCjQdDDT86sCebO9l3uN2x+jYgn/SYd25cF9EaUQ/A== |
| Xref | csiph.com comp.lang.javascript:26092 |
Show key headers only | View raw
Evertjan. wrote: > DrKen <javajedi2@yahoo.com> wrote on 07 nov 2014 in comp.lang.javascript: >> I'm no expert at JavaScript, and I would like a little guidance on >> how to check the country drop-down value as soon as it is selected. > > use <select onchange='..' > > [This part is just html] The “click” event and the “input” event (DOM 3 Events, HTML5) also need to be handled because the “change” event may not fire before the element loses focus. This is one of the cases where defining event listeners dynamically is warranted, to avoid code duplication. <http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-eventgroupings-htmlevents> <http://www.w3.org/TR/DOM-Level-3-Events/#event-type-click> <http://www.w3.org/TR/DOM-Level-3-Events/#event-type-input> <http://www.w3.org/TR/2014/REC-html5-20141028/forms.html#common-input-element-events> -- PointedEars FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/> Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix> Please do not Cc: me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Prevent Drop-downs from showing DrKen <javajedi2@yahoo.com> - 2014-11-06 19:34 -0800
Re: Prevent Drop-downs from showing "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-11-07 08:52 +0100
Re: Prevent Drop-downs from showing Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-07 13:56 +0100
Re: Prevent Drop-downs from showing Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2014-11-07 15:53 -0200
Re: Prevent Drop-downs from showing "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-11-07 21:43 +0100
Re: Prevent Drop-downs from showing Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-11-08 01:56 +0100
Re: Prevent Drop-downs from showing Denis McMahon <denismfmcmahon@gmail.com> - 2014-11-08 14:08 +0000
Re: Prevent Drop-downs from showing Tim Streater <timstreater@greenbee.net> - 2014-11-08 18:08 +0000
Re: Prevent Drop-downs from showing "Christoph M. Becker" <cmbecker69@arcor.de> - 2014-11-08 19:47 +0100
Re: Prevent Drop-downs from showing Denis McMahon <denismfmcmahon@gmail.com> - 2014-11-08 21:20 +0000
csiph-web