Title: Strange Javascript Error Message
Last modified: August 18, 2016

---

# Strange Javascript Error Message

 *  Resolved [jspirko](https://wordpress.org/support/users/jspirko/)
 * (@jspirko)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/strange-javascript-error-message/)
 * I am by no means a programmer and have added many plugins to my WordPress installation.
 * When I view my site using Internet Explorer, I receive a script error on the 
   page (which does not say much I might add):
    ` Line: 83 Char: 2 Error: 'null'
   is null or not an object Code: 0 URL: http://test.spirko.net/vw
 * The strange thing is I do not receive this error using FireFox. I understand 
   this is not that much information, but I really could use anybody’s help.

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

 *  [jwurster](https://wordpress.org/support/users/jwurster/)
 * (@jwurster)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/strange-javascript-error-message/#post-314902)
 * What version of IE are you using?
 *  Thread Starter [jspirko](https://wordpress.org/support/users/jspirko/)
 * (@jspirko)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/strange-javascript-error-message/#post-314906)
 * Version: 6.0.2900.2180.xpsp_sp2_gdr.050301-1519
 * Thanks.
 *  [jwurster](https://wordpress.org/support/users/jwurster/)
 * (@jwurster)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/strange-javascript-error-message/#post-314908)
 * I would search the Microsoft forums. I did see some references when I did a google
   search on that error. Can you identify your plugins that use javascript?
    Maybe
   also try a hard refresh (Ctrl-F5) to see if the error goes away.
 * I have the same IE version and don’t get that error when I go to your site.
 *  Thread Starter [jspirko](https://wordpress.org/support/users/jspirko/)
 * (@jspirko)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/strange-javascript-error-message/#post-314911)
 * Thanks, I will try that. I just did’t know where to start since this is such 
   a generic error.
 * One good thing is it doesn’t seem to be affecting anything.
 *  [vaamyob](https://wordpress.org/support/users/vaamyob/)
 * (@vaamyob)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/strange-javascript-error-message/#post-314913)
 * You guys need to dump IE and get a more developer friendly browser.
 * your error is in `livepreview.js` and thus, the livepreview plugin:
 * `var commentArea = document.getElementById('comment'); 
    commentArea.onkeyup 
   = function(){
 * `commentArea` is null because there is no comment form element.
 * You can fix it by just adding a :
 * `if (commentArea != null) {
    commentArea.onkeyup = function(){ ... } }
 * Oh, and don’t forget to tell the plugin developer about the issue.
 *  [Austin Matzko](https://wordpress.org/support/users/filosofo/)
 * (@filosofo)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/strange-javascript-error-message/#post-314915)
 * Edit: hadn’t yet seen the immediately prior post before posting this;
    —————————-
 * On your site I get the following error in Firefox:
 * “Error: commentArea has no properties
    Source File: [http://test.spirko.net/vw/wp-content/plugins/livepreview.js](http://test.spirko.net/vw/wp-content/plugins/livepreview.js)
   Line: 82″
 * The JavaScript is looking for something with id of “comment” and not finding 
   it.
 *  Thread Starter [jspirko](https://wordpress.org/support/users/jspirko/)
 * (@jspirko)
 * [20 years, 5 months ago](https://wordpress.org/support/topic/strange-javascript-error-message/#post-314965)
 * VaamYob:
 * Thanks for your help…that worked perfectly!!!
 * I will notify the plugin author as well.
 * Thanks Again 😉
 *  [hasund](https://wordpress.org/support/users/hasund/)
 * (@hasund)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/strange-javascript-error-message/#post-315177)
 * I use the same plugin as jspirko and I get the same error message in IE. I tried
   VaamYob’s fix (even copying jspirko’s modified script directly), but to no avail.
   The error is reproduced on two different blogs with different setups.
 *  [kylew](https://wordpress.org/support/users/kylew/)
 * (@kylew)
 * [19 years, 6 months ago](https://wordpress.org/support/topic/strange-javascript-error-message/#post-315180)
 * im getting the same null error but not from that pluggin.

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

The topic ‘Strange Javascript Error Message’ is closed to new replies.

## Tags

 * [Internet Explorer](https://wordpress.org/support/topic-tag/internet-explorer/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 9 replies
 * 6 participants
 * Last reply from: [kylew](https://wordpress.org/support/users/kylew/)
 * Last activity: [19 years, 6 months ago](https://wordpress.org/support/topic/strange-javascript-error-message/#post-315180)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
