Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #15060
| Path | csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed101.telia.com!starscream.dk.telia.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "Mel Smith" <med_cutout_syntel@aol.com> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: Either Chrome is crazy or *I* am :( |
| Date | Sun, 15 Jul 2012 12:49:25 -0600 |
| Lines | 41 |
| Message-ID | <a6ghlrF68lU1@mid.individual.net> (permalink) |
| References | <a6efohFhqlU1@mid.individual.net> <45e408tamu0ffkd3m24i4it2g6dtc205dh@4ax.com> <a6evcaFk3jU1@mid.individual.net> <a6g834FrofU1@mid.individual.net> <jtus8e$pc4$1@dont-email.me> <XnsA091C238518EBeejj99@194.109.133.133> |
| X-Trace | individual.net 7EjUUjNuS7QE6Dsb69vOOAkqk1kP6uBTkGJwVyHAUsa7f3Bhl494usMQg6boZZJwwT |
| Cancel-Lock | sha1:NIThg5wOpsU7kjAdNOXxcYWic6U= |
| X-Priority | 3 |
| X-MSMail-Priority | Normal |
| X-Newsreader | Microsoft Outlook Express 6.00.2900.5931 |
| X-RFC2646 | Format=Flowed; Original |
| X-MimeOLE | Produced By Microsoft MimeOLE V6.00.2900.6157 |
| Xref | csiph.com comp.lang.javascript:15060 |
Show key headers only | View raw
Evertjan said:
>
> Indeed.
>
> The click could be interpreted as an action before you choose an option,
> tricky crossbrowser-wize.
>
> ===========
>
> And do not use event to find the value of the selection,
> use this [and .value in the function] or this.value.
>
> Try:
>
> <select onchange='executeResult(this.value)'>
> <option value="3101">Anderson, Harry</option>
>
> ==========
>
> And do not disable an option but reject the result in your script:
>
> <option value="X" selected>1. Select Members</option>
>
> function executeResult(r) {
> if (r == 'X') return; // no action taken!
> ......
>
>
Evertjan:
Thank you for the above.
I'll put my head down and change my code to reflect what you say above.
Many thanks again !
-Mel Smith
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Either Chrome is crazy or *I* am :( "Mel Smith" <med_cutout_syntel@aol.com> - 2012-07-14 18:04 -0600
Re: Either Chrome is crazy or *I* am :( Jeff North <jnorthau@yahoo.com.au> - 2012-07-15 13:29 +1000
Re: Either Chrome is crazy or *I* am :( "Mel Smith" <med_cutout_syntel@aol.com> - 2012-07-14 22:31 -0600
Re: Either Chrome is crazy or *I* am :( "Mel Smith" <med_cutout_syntel@aol.com> - 2012-07-15 10:05 -0600
Re: Either Chrome is crazy or *I* am :( Matt McDonald <matt@fortybelow.ca> - 2012-07-15 10:48 -0600
Re: Either Chrome is crazy or *I* am :( "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2012-07-15 17:05 +0000
Re: Either Chrome is crazy or *I* am :( "Mel Smith" <med_cutout_syntel@aol.com> - 2012-07-15 12:49 -0600
Re: Either Chrome is crazy or *I* am :( "Mel Smith" <med_cutout_syntel@aol.com> - 2012-07-15 12:41 -0600
Re: Either Chrome is crazy or *I* am :( SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-07-16 17:46 +0200
Re: Either Chrome is crazy or *I* am :( "Mel Smith" <med_cutout_syntel@aol.com> - 2012-07-16 10:14 -0600
Re: Either Chrome is crazy or *I* am :( Christoph Becker <cmbecker69@gmx.de> - 2012-07-16 19:31 +0200
Re: Either Chrome is crazy or *I* am :( "Mel Smith" <med_cutout_syntel@aol.com> - 2012-07-16 12:21 -0600
Re: Either Chrome is crazy or *I* am :( Christoph Becker <cmbecker69@gmx.de> - 2012-07-16 20:44 +0200
Re: Either Chrome is crazy or *I* am :( "Mel Smith" <med_cutout_syntel@aol.com> - 2012-07-16 15:07 -0600
Re: Either Chrome is crazy or *I* am :( SAM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid> - 2012-07-17 01:47 +0200
Re: Either Chrome is crazy or *I* am :( "Mel Smith" <med_cutout_syntel@aol.com> - 2012-07-30 13:31 -0600
csiph-web