Solved

JavaScript Security Warning

Posted on 2011-09-29
3
191 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Start Auto-download of File when page loads? 1 23
VS 2015 is giving [No relevant source lines] 2 30
Code enhancement 4 22
Only allow one check box 17 28
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…

820 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