Why should $.click() be enclosed within $(document).ready()?
<p>I am going through <a href="http://docs.jquery.com/How_jQuery_Works" rel="nofollow">http://docs.jquery.com/How_jQuery_Works</a> and find the requirement of enclosing <code>$.click()</code> event in <code>$(document).ready()</code> even a little strange.  My difficulties are as follows:</p>

<ul>
<li>When the document loads, the control will enter <code>$(document).ready()</code> function but will it proceed to execute <code>$.click()</code>? (Based on the behavior it wouldn't.  But when the control enters a normal function, why wouldn't it enter <code>$.click()</code> function?)</li>
<li>Since the user can see the url only after the document is ready, is it really required to embed <code>$.click()</code> within <code>$(document).ready()</code>?</li>
</ul>
