title: jquery is not working with visual force pages
body: <p>i have written very simple javascript function </p>
  
  <pre><code>function menuClass(id) {
  jQuery(".active").removeClass("active");
  jQuery("#"+id).addClass("active");
  </code></pre>
  
  <p>}</p>
  
  <p>but when i am using the function in visualforce pages </p>
  
  <p>it is not working </p>
  
  <p>this is visualforce page line where i am using it</p>
  
  <pre><code>&lt;li id="ayurveda"&gt;&lt;apex:outputLink value="panchkarmaayurveda" id="ayurvedaLink" onclick="menuClass('ayurveda');"&gt;Ayurveda&lt;/apex:outputLink&gt;
  </code></pre>
  
  <p>also i have called this function onload event</p>
  
  <pre><code> jQuery.noConflict();
  </code></pre>
  
  <p>what is the problem this function is working also not giving error 
  tried with firebug</p>
  
  <p>here is the link where i have actually used it 
  <a href="http://www.panchakarmayurveda.com/" rel="nofollow">Panchkarma Ayurveda</a></p>