Jquery – JavaScript: “Access Denied” and “Object doesn’t support this property or method” errors

ajaxcontroltoolkitjquerythickbox

I’m working on an application that uses the ajax control toolkit 1.0.20229.0, jquery 1.3.2 and thickbox 3.

We are in the process of removing the ajax control toolkit, but since it’s a large app it will take several versions before we can completely remove it.

When I click a link that pops up a thickbox modal containing iframe it works, most of the time. In IE7 I sometimes get either “Access Denied” or “Object doesn’t support this property or method” it seemingly random, but the errors always seem to be happening in the ajax control toolkit javascript.

Has anyone seen this before or have any suggestions on how to track it down?

Best Answer

"Access is denied" usually comes when there is cross domain referencing. Check if you are some how referencing any page from a different domain than the one which is running your jQuery. Ajax Control Toolkit itself does not do cross domain referencing.

Related Topic