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


Groups > comp.lang.javascript > #22738

Re: Debugging Errors -- a conundrum -- I think

From "Mel Smith" <med_cutout_syntel@aol.com>
Newsgroups comp.lang.javascript
Subject Re: Debugging Errors -- a conundrum -- I think
Date 2014-01-21 10:01 -0700
Message-ID <bk7nejFkitaU1@mid.individual.net> (permalink)
References (4 earlier) <52dd809b$0$6547$9b4e6d93@newsspool4.arcor-online.net> <bk5es2F645gU1@mid.individual.net> <52dd8824$0$6563$9b4e6d93@newsspool4.arcor-online.net> <bk5mijF7pdgU1@mid.individual.net> <lblkp0$91k$1@dont-email.me>

Show all headers | View raw


Hi:

    Norman: I tried the cancel bubble, etc with no effect

To All:

    I've tried so many things now, that I'm totally frustrasted and 
discouraged. My final change/test is below. Note the alert() message in the 
onclick event.

Result:  with the alert() placed in the onclick event, IE8 works perfectly. 
When it is removed, it takes *two* clicks to enter the onclick event handler 
for all options greater than the first option.  For the *first* option, if 
you click it first, it reacts correctly !

    (and of course, Chrome works perfectly in all cases.)

I'm going to leave this alone for awhile and go to a monastery and try to 
get rid of my new found hate for JS/ES :((

Thank you all for trying to help me.

-Mel

.
**************************
<select id="uselectclub" style="margin-top:8px" name="selectclub" size="4"
  onfocus="setFocusColor(this);shoaccoptbutt(true);"

  onclick="chkoptsel(this);alert('Got here on click.');"> // note change

  <option id="iopt1" value="41388">Test Option 0</option>
  <option id="iopt2" value="41419">Test Option 1</option>
  <option id="iopt3" value="56080">Test Option 2</option>
</select>

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


Thread

Debugging Errors -- a conundrum -- I think "Mel Smith" <med_cutout_syntel@aol.com> - 2014-01-20 09:48 -0700
  Re: Debugging Errors -- a conundrum -- I think Christoph Michael Becker <cmbecker69@arcor.de> - 2014-01-20 17:59 +0100
    Re: Debugging Errors -- a conundrum -- I think "Mel Smith" <med_cutout_syntel@aol.com> - 2014-01-20 10:45 -0700
      Re: Debugging Errors -- a conundrum -- I think "Mel Smith" <med_cutout_syntel@aol.com> - 2014-01-20 12:50 -0700
        Re: Debugging Errors -- a conundrum -- I think Christoph Michael Becker <cmbecker69@arcor.de> - 2014-01-20 21:01 +0100
          Re: Debugging Errors -- a conundrum -- I think "Mel Smith" <med_cutout_syntel@aol.com> - 2014-01-20 13:22 -0700
            Re: Debugging Errors -- a conundrum -- I think Christoph Michael Becker <cmbecker69@arcor.de> - 2014-01-20 21:33 +0100
              Re: Debugging Errors -- a conundrum -- I think Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-01-20 21:42 +0100
              Re: Debugging Errors -- a conundrum -- I think "Mel Smith" <med_cutout_syntel@aol.com> - 2014-01-20 15:33 -0700
                Re: Debugging Errors -- a conundrum -- I think "Mel Smith" <med_cutout_syntel@aol.com> - 2014-01-20 16:02 -0700
                Re: Debugging Errors -- a conundrum -- I think Christoph Michael Becker <cmbecker69@arcor.de> - 2014-01-21 00:28 +0100
                Re: Debugging Errors -- a conundrum -- I think Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-01-21 06:01 +0100
                Re: Debugging Errors -- a conundrum -- I think "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-01-21 08:47 +0100
                Re: Debugging Errors -- a conundrum -- I think Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-01-21 13:01 +0100
                Re: Debugging Errors -- a conundrum -- I think John Harris <niam@jghnorth.org.uk.invalid> - 2014-01-22 15:18 +0000
                Re: Debugging Errors -- a conundrum -- I think Norman Peelman <npeelman@cfl.rr.com> - 2014-01-21 06:13 -0500
                Re: Debugging Errors -- a conundrum -- I think "Mel Smith" <med_cutout_syntel@aol.com> - 2014-01-21 10:01 -0700
          Re: Debugging Errors -- a conundrum -- I think Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-01-20 21:37 +0100

csiph-web