[jQuery] $(document).ready question

[jQuery] $(document).ready question

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
    AddMouseEvents functionality
    // then this
    return false;
});
Adrian Sweeney
Web Developer
Mills & Reeve
Tel: +44(0)121 456 8236
mailto:adrian.sweeney@mills-reeve.com
http://www.mills-reeve.com
-----Original Message-----
From: Klaus Hartl [mailto:klaus.hartl@stilbuero.de]
Sent: 31 October 2006 07:49
To: jQuery Discussion.
Subject: Re: [jQuery] $(document).ready question
jyl@mod3.net schrieb: