adding .live to click functions in jquery
<p>We have an app that uses a lot of jquery stuff and we're adding up all our scripts in an init.js file which has a lot of <code>.live("click"), .live("hover")</code> etc, stuff plus some <code>if($(".classname").length)</code> etc.</p>

<p>I have a suspicion it MIGHT be slowing down our pages unnecessarily(some pages don't need some scripts). But what is a more elegant solution to this? We certainly won't like a separate file for each page that needs it, that's a pain to maintain. Is there any other way to achieve this?</p>
