Title: adding javascript
Last modified: August 21, 2016

---

# adding javascript

 *  Resolved [Jomez](https://wordpress.org/support/users/jomez/)
 * (@jomez)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/adding-javascript-4/)
 * I want to add a small simple jquery-script to my site.
    I checked the “Site-specific
   JS” checkbox; but when I add my scripts in script-starter.js nothing happens.
   Even an alert-message for testing does not respond. Can someone tell me if I 
   am doing something wrong in adding javascript?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [12 years, 6 months ago](https://wordpress.org/support/topic/adding-javascript-4/#post-4285654)
 * Are you using some browser developer tool like Firebug so that you can get access
   to the browser’s console log?
 *  Thread Starter [Jomez](https://wordpress.org/support/users/jomez/)
 * (@jomez)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/adding-javascript-4/#post-4285766)
 * Okay; I just found out I have to rename script-starter.js to script.js.
    Now 
   it works. Thanks
 *  [joga3001](https://wordpress.org/support/users/joga3001/)
 * (@joga3001)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/adding-javascript-4/#post-4285986)
 * Hi, I have similar issue:
 * I checked the “Site-specific JS” checkbox, I rename script-starter.js to script.
   js and add the code in the footer (<script type=’text/javascript’ src=’[http://my-site.com/wp-content/themes/boilerplate/js/script.js’></script&gt](http://my-site.com/wp-content/themes/boilerplate/js/script.js’></script&gt);)
   but it still not working… what else do I need to do?
 * the version of my theme is 4.4.1
 *  Theme Author [Aaron T. Grogg](https://wordpress.org/support/users/aarontgrogg/)
 * (@aarontgrogg)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/adding-javascript-4/#post-4285987)
 * [@joga3001](https://wordpress.org/support/users/joga3001/): you shouldn’t have
   to add any code to the page, checking the “Site-specific JS” checkbox should 
   add the <script> tag to the page for you.
 * and that should just do it…
 * you have a URL i could look at?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘adding javascript’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/boilerplate/4.4.1/screenshot.png)
 * Boilerplate
 * [Support Threads](https://wordpress.org/support/theme/boilerplate/)
 * [Active Topics](https://wordpress.org/support/theme/boilerplate/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/boilerplate/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/boilerplate/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [Aaron T. Grogg](https://wordpress.org/support/users/aarontgrogg/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/adding-javascript-4/#post-4285987)
 * Status: resolved