Two "$(document).ready(function()" on the same page cause problems, how to handle?
<p>i have a web page with a fix header included by a simple <code>include("header.php")</code>, in this header i have a jquery function that begins with: <code>$(document).ready(function() {</code>. One of my pages, need to have another jquery function on the body, if i put two times in the same page the function $(document).ready(function() { one of them stop to work. How can i handle this?, as you can see i cant put the scripts on the same position because one have to be always on the header and the other one appear only in some pages. Thanks! </p>
