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


Groups > comp.lang.javascript > #23490

Re: onLoad () and onChange()

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From "Jukka K. Korpela" <jkorpela@cs.tut.fi>
Newsgroups comp.lang.javascript
Subject Re: onLoad () and onChange()
Date Mon, 10 Mar 2014 07:22:29 +0200
Organization A noiseless patient Spider
Lines 15
Message-ID <lfji6n$89u$1@dont-email.me> (permalink)
References <8385c017-1426-4c2d-bdb3-2dd60a629819@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Mon, 10 Mar 2014 05:22:31 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="ad9d9996ed56b0226e850b84acbddfdf"; logging-data="8510"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18b1tf44I8rjgFSA+RGFMfG"
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
In-Reply-To <8385c017-1426-4c2d-bdb3-2dd60a629819@googlegroups.com>
X-Antivirus-Status Clean
X-Antivirus avast! (VPS 140309-1, 09.03.2014), Outbound message
Cancel-Lock sha1:L0pGZRjp3QQh6lfC0+7uEn9Pwjg=
Xref csiph.com comp.lang.javascript:23490

Show key headers only | 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