• Can I add jquery to one of my pages? Because I am trying, and it does not seem to be working. I am doing this in one of the pages, in the dashboard.

    This is the code I am putting in:
    <head>

    <script type="text/javascript" src="js/jquery-1.2.6.pack.js"></script>
    <script type="text/javascript">
    $(document).ready(function(){
    	dynamicFaq();
    });
    
    function dynamicFaq(){
    	$('dd').hide();
    	$('dt').bind('click', function(){
    		$(this).toggleClass('open').next().slideToggle();;
    	});
    }

    </script>
    </head>

    If it cannot be done this way, where would I put the link to my js document? On which php page?

    Thank you.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘help with inserting jquery’ is closed to new replies.