I'm in the habit of using a global.js file where I put all my custom scripts, and in that I have a function called global(), then just call that within the document.ready function on each page. This lets me put any jQuery code that I want run on each page in one place, and keep the head of my html pages cleaner. Dunno if thats what you were looking for, but it helps me keep things as seperated as possible.
-- View this message in context: http://www.nabble.com/Structuring-jQuery-code-in-large-projects-tf2304957.html#a6407846 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
