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


Groups > comp.lang.javascript > #23490

Re: onLoad () and onChange()

From "Jukka K. Korpela" <jkorpela@cs.tut.fi>
Newsgroups comp.lang.javascript
Subject Re: onLoad () and onChange()
Date 2014-03-10 07:22 +0200
Organization A noiseless patient Spider
Message-ID <lfji6n$89u$1@dont-email.me> (permalink)
References <8385c017-1426-4c2d-bdb3-2dd60a629819@googlegroups.com>

Show all headers | View raw


2014-03-10 2:06, jonas.thornvall@gmail.com wrote:

> I use body onLoad and checkbox onChange "outside form". While
> sorting out initiation bugs of values in script it seems like the
> onChange() function is loaded before the onLoad.
>
> And that is where i call the function that initiate all my values,
> could that really be?

Please show a sample HTML document that actually demonstrates this, and
explain why you think onchange is called before onload (and why it is 
called at all - what user action would trigger it?).

-- 
Yucca, http://www.cs.tut.fi/~jkorpela/

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


Thread

onLoad () and onChange() jonas.thornvall@gmail.com - 2014-03-09 17:06 -0700
  Re: onLoad () and onChange() "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-03-10 07:22 +0200
    Re: onLoad () and onChange() "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-03-10 09:49 +0100
      Re: onLoad () and onChange() jonas.thornvall@gmail.com - 2014-03-10 06:56 -0700
        Re: onLoad () and onChange() "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-03-10 15:28 +0100
    Re: onLoad () and onChange() jonas.thornvall@gmail.com - 2014-03-10 05:17 -0700
      Re: onLoad () and onChange() jonas.thornvall@gmail.com - 2014-03-10 05:55 -0700
      Re: onLoad () and onChange() "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2014-03-10 16:00 +0200
        Re: onLoad () and onChange() jonas.thornvall@gmail.com - 2014-03-10 07:32 -0700
          Re: onLoad () and onChange() "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-03-10 15:46 +0100
            Re: onLoad () and onChange() jonas.thornvall@gmail.com - 2014-03-10 09:58 -0700
              Re: onLoad () and onChange() "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2014-03-10 23:15 +0100
          Re: onLoad () and onChange() Ben Bacarisse <ben.usenet@bsb.me.uk> - 2014-03-10 17:03 +0000
            Re: onLoad () and onChange() jonas.thornvall@gmail.com - 2014-03-10 10:29 -0700

csiph-web