Is it the norm to start any page that uses JQuery with: $(document).ready(function(){ // Your code here });
All of the tutorials mention it so I'm just trying to figure out if its just something to help get us started or if its a best practice. Also, does all of the code used to manipulate pages and execute Ajax calls get placed within this method? How are others organizing/breaking out their code? Apart from learning how to develop using JQuery, I'm also trying to learn the best practices of using JQuery. Are there any resources that discuss this? Thanks, Rey... _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/