What version of IE are you using?
Version: 6.0.2900.2180.xpsp_sp2_gdr.050301-1519
Thanks.
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.
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.
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.
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
Line: 82″
The JavaScript is looking for something with id of “comment” and not finding it.
VaamYob:
Thanks for your help…that worked perfectly!!!
I will notify the plugin author as well.
Thanks Again 😉
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.
im getting the same null error but not from that pluggin.