Skip to content Skip to sidebar Skip to footer

Why Does This Javascript Cause A "permission Denied" Error In Ie

The following code throws a Permission Denied error in IE, citing jQuery (1.6.2) line 6244 Char:2: function addAgreement() { var url = window.location.toString(); var piece

Solution 1:

For AJAX requests, www. is seen as a sub-domain and breaks the same-origin policy for the xmlhttprequestobject. Make sure the domain in your AJAX request matches the domain of the page and your javascript file.


Post a Comment for "Why Does This Javascript Cause A "permission Denied" Error In Ie"