[jQuery] document ready
[jQuery] document ready
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>document ready</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Is it ok to use document ready as many times as needed on a page?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">$(document).ready(function() {</FONT>
<BR><FONT SIZE=2 FACE="Arial">//</FONT>
<BR><FONT SIZE=2 FACE="Arial">});</FONT>
</P>
<BR>
<P><FONT SIZE=2 FACE="Arial">I used it once in the .js include.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I want to use it again in the head (for a more local usage)..</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I am wondering if that would contribute to my jquery code not working the very first time I load the page.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thanks.</FONT>
</P>
<BR>
<FONT SIZE=3><BR>
<BR>
*************************************************************************<BR>
This communication, including attachments, is<BR>
for the exclusive use of addressee and may contain proprietary,<BR>
confidential and/or privileged information. If you are not the intended<BR>
recipient, any use, copying, disclosure, dissemination or distribution is<BR>
strictly prohibited. If you are not the intended recipient, please notify<BR>
the sender immediately by return e-mail, delete this communication and<BR>
destroy all copies.<BR>
*************************************************************************<BR>
</FONT>
</BODY>
</HTML>_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/