Hi John,

> Essentially, anything that interacts with or manipulates the page must
> be within the $(document).ready() function. This is considered a "best
> practice" - the only alternative is to wrap your code in a
> $(window).load( ... ), but that is highly un-optimal.

Exactly what I wanted to know.

> I guess, could explain what you'd expect from a best practices page?

Coding practices that show the best methods for manipulating pages using 
the JQuery API. I guess you can call them design patterns. Perhaps 
scenarios or code snippets that show the best approach to doing 
something. I've always found that intro tutorials use the least common 
denomitor factor when getting someone up to speed and rightfully so.

Here's one that as a newbie would interest me:

- Any examples that would help me produce tighter code, say, on a form 
submission via an Ajax call would be awesome.

Rey...



_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to