Title: Javascript DOM code not working
Last modified: August 19, 2016

---

# Javascript DOM code not working

 *  [fedude](https://wordpress.org/support/users/fedude/)
 * (@fedude)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/javascript-dom-code-not-working/)
 * I’m a new wordpress user, so this might be a simple question, but I’m stumped.
 * I’m trying to insert some simple DOM javascript code into one of my pages. The
   code works fine in a [standalone web page](http://heronsglenfitness.com/blog/ss_test.html)
   but when I try to insert the code into [my wordpress page](http://heronsglenfitness.com/blog/?page_id=3)
   using the wp-admin HTML editor, it stops working. It’s almost as though the code
   is being ignored.
 * I know I’m doing something really stupid but I could use some expert help pushing
   me in the right direction

Viewing 1 replies (of 1 total)

 *  Thread Starter [fedude](https://wordpress.org/support/users/fedude/)
 * (@fedude)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/javascript-dom-code-not-working/#post-1019354)
 * I’ve tried a myriad of the “run javascript” plugins (AYB Javascript in posts)
   but none seem to work. Maybe it’s because I’m using a form in the html? Or maybe
   the “onchange” event is being ignored?

Viewing 1 replies (of 1 total)

The topic ‘Javascript DOM code not 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: [fedude](https://wordpress.org/support/users/fedude/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/javascript-dom-code-not-working/#post-1019354)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
