Reputation: 34846
Upon deploying our application from staging to production, users on IE7 and IE8 are reporting seeing the following popup:
Thinking it was a resource used in the application, we stripped down the page to just this:
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#content').html("Here is where the popup happens.");
});
</script>
<div id="content">
</div>
Needless to say our users are not thrilled to see a security message popup and asking all of our users to disable this message in their browser is not solution.
What is causing this and how can it be resolved?
Upvotes: 0
Views: 313
Reputation: 3070
Convert
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
to
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
The browser will fill in the protocol based on the page's protocol.
Upvotes: 3