Jquery - Load function on page load without onload?
<p>Using jquery what is the best way to load a snippet of code for a specific page without using an onload or on page load event? I have a js file that is included in differnet pages and this js file has custom jquery code in it, so some code is for one page and other code are for other pages. Instead of breaking them out into their own js code is there a way to have code run when a certain page is loaded?</p>
