Title: Javascript on a static page???
Last modified: August 18, 2016

---

# Javascript on a static page???

 *  [billramby](https://wordpress.org/support/users/billramby/)
 * (@billramby)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/javascript-on-a-static-page/)
 * Is there any way that javascript will work on a static page authored in WP 1.5?
 * Regards
    Bill R.

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

 *  Thread Starter [billramby](https://wordpress.org/support/users/billramby/)
 * (@billramby)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/javascript-on-a-static-page/#post-156555)
 * bump
 *  [lbessant](https://wordpress.org/support/users/lbessant/)
 * (@lbessant)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/javascript-on-a-static-page/#post-156559)
 * Works for me. I have some JavaScript on [this page](http://lcb.me.uk/losingit/lescam/).
 * Unwanted formatting of the code is achieved by putting the code in an external
   file and linking:
 * `<script type="text/javascript" src="yourscript.js"></script>`
 *  Thread Starter [billramby](https://wordpress.org/support/users/billramby/)
 * (@billramby)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/javascript-on-a-static-page/#post-156560)
 * I’ll give that a shot. Thanks!
 * Regards
    Bill R.
 *  Thread Starter [billramby](https://wordpress.org/support/users/billramby/)
 * (@billramby)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/javascript-on-a-static-page/#post-156592)
 * Cool. Got it working: [http://www.pdacore.com/?page_id=18](http://www.pdacore.com/?page_id=18)
 * Regards
    Bill R.
 *  [Liew Cheon-Fong](https://wordpress.org/support/users/lcf/)
 * (@lcf)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/javascript-on-a-static-page/#post-156954)
 * It works! Take note on the javascript file’s path.
    If you install WP in [http://YourDomain.com/blog/](http://YourDomain.com/blog/)
   and javascript file in the same directory, the path should be “/blog/yourscript.
   js”.

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

The topic ‘Javascript on a static page???’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [Liew Cheon-Fong](https://wordpress.org/support/users/lcf/)
 * Last activity: [21 years, 1 month ago](https://wordpress.org/support/topic/javascript-on-a-static-page/#post-156954)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
