Title: help with inserting jquery
Last modified: August 20, 2016

---

# help with inserting jquery

 *  [suavedesign](https://wordpress.org/support/users/suavedesign/)
 * (@suavedesign)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/help-with-inserting-jquery/)
 * 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)

 *  [tomontoast](https://wordpress.org/support/users/tomontoast/)
 * (@tomontoast)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/help-with-inserting-jquery/#post-3287242)
 * See [http://codex.wordpress.org/Function_Reference/wp_enqueue_script](http://codex.wordpress.org/Function_Reference/wp_enqueue_script)

Viewing 1 replies (of 1 total)

The topic ‘help with inserting jquery’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [tomontoast](https://wordpress.org/support/users/tomontoast/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/help-with-inserting-jquery/#post-3287242)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
