Solved

JavaScript Security Warning

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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…

863 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

21 Experts available now in Live!

Get 1:1 Help Now