I have created some jQuery and put it in an ascx include. It works fine on regular pages, however when I load a secured page on my site I get the following javascript error.
Permission Denied
jquery.min.js
Code: 0
Any ideas?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming you’re using the hosted jQuery by the Google CDN, you can change the hosted script address to use https instead of http:
Host -> Host Settings -> Advanced Settings -> jQuery Settings ->
References
Updated
This permissions error can occur when you’re attempting to make an $.ajax() request using jQuery from a secure URL (https) to a non-secure URL (http) even though they are the same domain. Changing the
urlparameter to use a relative URL should fix the issue.