Title: Why isn&#039;t my javascript working?
Last modified: August 20, 2016

---

# Why isn't my javascript working?

 *  [cscott5288](https://wordpress.org/support/users/cscott5288/)
 * (@cscott5288)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/why-isnt-my-javascript-working/)
 * So I’ve got two sites that are exact duplicates of each other. The only difference
   is the location (one is on a dedicated server and one on a separate shared server).
 * I installed a plugin called WordPress Pop up and it does everything I need it
   to do. The only problem is that the pop up doesn’t work properly on the live 
   site while it works perfectly on the test site. Am I correct in thinking that,
   since Javascript/jquery is client side, it will be interpreted exactly the same
   way regardless of what server the js files are located? If that is the case then
   I think it might have something to do with different versions of PHP since the
   plugin files are of course built with PHP (referencing the JS). Anyway the problem
   is that the pop up does not close when you X out on the live site but it closes
   on the test server.
 * See for yourself:
 * Test site:
    [http://news-string.com/ca_test/](http://news-string.com/ca_test/)
 * Live site:
    [http://www.communityadvocate.com/2012/11/16/marlborough-wildcats-fall-in-state-championship/](http://www.communityadvocate.com/2012/11/16/marlborough-wildcats-fall-in-state-championship/)
 * Any help would be greatly appreciated. I’ve stared at the problem so long I think
   I have tunnel vision! It’s amazing that I have trouble-shooted problems infinitely
   more complicated than ‘this box doesn’t x out’ yet this is the one that I am 
   literally about to give up on.

Viewing 1 replies (of 1 total)

 *  Thread Starter [cscott5288](https://wordpress.org/support/users/cscott5288/)
 * (@cscott5288)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/why-isnt-my-javascript-working/#post-3258328)
 * Any help? I’m dying here.

Viewing 1 replies (of 1 total)

The topic ‘Why isn't my javascript working?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [cscott5288](https://wordpress.org/support/users/cscott5288/)
 * Last activity: [13 years, 6 months ago](https://wordpress.org/support/topic/why-isnt-my-javascript-working/#post-3258328)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
