5 April, 2011
14 Comments
1 category
When accessing an .net 3.5 web application in Microsoft Internet Explorer 9, I get the error:
Microsoft JScript runtime error: Unable to get value of the property ‘srcElement’: object is null or undefined
When the "Compatibility View" button is pushed the error is resolved, but I am still investigating what the cause of the error is and if it can be fixed without reminding all the users of the website to push the "Compatibility View" button
Category: Uncategorized
Any update on this? I’m having a similar problem that is IE9 only.
Any updates on this?.I am having an issue with this.
For this specific problem I added the below javascript to the page as a fix …. hackish not a real solution
function GetEventTarget(a){
ULSA13:;
if(!a) return {};
if(!IsSupportedMacBrowser())
return a.srcElement;
if(a.srcElement)
return a.srcElement;
return a.target
}
I got error in IE:
SCRIPT5007: Unable to get value of the property ‘news_archive_long_desc’: object is null or undefined
The script line is:
CKEDITOR.instances.news_archive_long_desc.setData(”);
Any one knows to solving this problem pls update this
Any progress with this ?
Thanks. It works for me.
I have the same issue.
I have a ListBox which have both RequriedFieldValidator and ListSearchExtender. But whenever I change the selection of the ListBox and click anywhere in the page, a JavaScript error occurs. The function that throws the error is ValidatorOnChange, the event is null. This is only happens on IE9.
Does any know how to fix this? As for Matt’s solution, where do I apply it?
Where should apply the code?
Gaolai..you are doing exactly what I am doing…with the requiredfield validator and listsearchextender and I have the same error. I get the error on the same function that you do. Were you able to solve it?
Whoops…well…Matt’s solution works. Just put it anywhere on your aspx page in your content tags. Thanks Matt!
So I can only get Matt’s script to work the 2nd or 3rd time around. The initial page load seems to have it broken. Any ideas?
Any other solutions? I’ve tried Matt’s one, but that function is never fired so just adding that js to my page doesn’t work. Thank you.
Any other solutions? I’ve tried Matt’s one, but that function is never fired so just adding that js to my page doesn’t work.
This is only happens on IE9.
Thank you.
Any other solutions? I am also getting this error.
Thank you.