Solved

JavaScript Security Warning

Posted on 2011-09-29
3
190 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
ID: 36818418
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 83

Accepted Solution

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

Author Closing Comment

by:us1975mc
ID: 36819016
What a simple solution...

Thanks!
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…

770 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