Title: Need help with javascript
Last modified: August 22, 2016

---

# Need help with javascript

 *  [BigProof420](https://wordpress.org/support/users/bigproof420/)
 * (@bigproof420)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/need-help-with-javascript-1/)
 * Hello. I am seeking some javascript help. This issue has been with me for weeks
   now and is very frustrating. I have several pages and several JS codes I am trying
   to use. Each page will have its own JS code. I am trying to put the JS code in
   a .js file and upload it to my server, then use a code to call out that file 
   on my server where I want it on the page i want it on. Then, the same for the
   next page/code(file) that I have. I am still in the process of learning html 
   and am completely lost with this. I’m assuming the code will be fairly simple
   and short for someone with javascript knowledge, and hoping I can just change
   the file name of the code for each page. Thanks in advance to everyone who helps
   with this!
 * PS – I’ve tried simply adding the code into the html editor part of the wordpress
   page, but it seems wordpress doesn’t allow that. I end up with a broken image
   link.

Viewing 1 replies (of 1 total)

 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/need-help-with-javascript-1/#post-5178743)
 * Firstoff, if you are not already using a child theme, then start now and create
   a child theme [http://codex.wordpress.org/Child_Themes](http://codex.wordpress.org/Child_Themes)
 * The easiest solution is to create a custom page template for each of your different
   pieces of javascript, the javascript could even go inline.
    Assign the correct
   page template to each page and you are done. These page template go into your
   child theme directory, copy and rename the page.php from the parent theme.

Viewing 1 replies (of 1 total)

The topic ‘Need help with javascript’ is closed to new replies.

## Tags

 * [java](https://wordpress.org/support/topic-tag/java/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/need-help-with-javascript-1/#post-5178743)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
