Jörn Zaefferer schrieb:
Klaus Hartl schrieb:
They are fired in the order they were created. Jörn, I think, we should
add that to the documentation...
True. Bug report, anyone? There is even a docs category :-)
Wiping away my Todo mails:
http://jquery.com/dev/bugs/bug/468/
-- Klaus
Klaus Hartl schrieb:
They are fired in the order they were created. Jörn, I think, we should
add that to the documentation...
True. Bug report, anyone? There is even a docs category :-)
--
Jörn Zaefferer
http://bassistance.de
___
jQuery
.
Subject: Re: [jQuery] $(document).ready question
[EMAIL PROTECTED] schrieb:
Absolutely basic question, can I have more than one
$(document).ready(...) statement in a page? Will they all be run or
only the last one, or the first one?
Hello Jyl,
have a look at the documentation:
You can have
Adrian Sweeney schrieb:
Question: why would you want to have multiple $(document).ready statements
Why not just the following
$(document).ready(function(){
//do this
initialise functionality
// then this
DrawScreen functionality
// then this
: [jQuery] $(document).ready question
Adrian Sweeney schrieb:
Question: why would you want to have multiple $(document).ready
statements
Why not just the following
$(document).ready(function(){
//do this
initialise functionality
// then this
DrawScreen
LOL, couldnt find it. As you answered, its essential that things should
work this way for composability, and I'm glad they do.
As an aside, I don't know why the mailing list software insists on calling
me JYL, I'm Jacob Levy and I'm in California :) Nice to meet you all, and
as you inferred, I'm
Absolutely basic question, can I have more than one $(document).ready(...)
statement in a page? Will they all be run or only the last one, or the
first one?
--JYL
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
[EMAIL PROTECTED] schrieb:
Absolutely basic question, can I have more than one $(document).ready(...)
statement in a page? Will they all be run or only the last one, or the
first one?
Hello Jyl,
have a look at the documentation:
You can have as many $(document).ready events on your page as