Reputation: 33
I am uploading a script on a CEWP which uses JQUERY. The code does not execute on the first time It is loaded in IE. as pop up bow appears at the bottom of the page pormting the end user if he wants to allow blocked content..only when checked, that the page reloads..and the script gets executed
Is there a way to avoid this and have the blocked content enabled form the start
Thank you Julia
Upvotes: 0
Views: 499
Reputation: 95047
Make sure you always include your scripts with the same protocol as your domain. to do this automatically, use a protocol-relative url.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
Note, this won't work if you're working from the file system, for example, file://mypage.html
Upvotes: 2