Solved

JavaScript Security Warning

Posted on 2011-09-29
3
186 Views
Last Modified: 2012-06-22
Experts,

I am running javascript on my web page. In the first line I have <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script> and this gives me an error every time the page is posted back.  

The warning is shown below.

I am running on a secure server (https://...)

It matter not if I press the Yes or No on the Security Warning, every time the page refreshes I get this warning.

I have placed the “jquery.min.js” in a folder named Scripts and the code changed it to src="../Scripts/jquery.min.js"  type="text/javascript"></script>
     

Any Ideas...
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
...

Open in new window

error.gif
0
Comment
Question by:us1975mc
3 Comments
 
LVL 82

Expert Comment

by:leakim971
Comment Utility
you still have element loading via http, that's.
install http://www.fiddler2.com/fiddler2/ to see which one or firebug if you're familiar with it
else provide a link to your page
0
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
You can also load it from Google securely with 'https:'.  It will work, I just tried it.
0
 

Author Closing Comment

by:us1975mc
Comment Utility
What a simple solution...

Thanks!
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now