SSL & JQuery = No Padlock / Why?

Can somebody please explain to me where I am going wrong?

When I load my secure login page on https://mydomain.com/login, my padlock doesn't show. I played around for a while and found out when I removed the <script src="http://mydomain.com/includes/jquery.js"> include the padlock came back.

What is wrong with JQuery and SSL together? Cos I really need to use JQuery on this particular page...

Answers


You should change it to:

<script src="https://mydomain.com/includes/jquery.js">

If you serve your assets (css/js/images) from a non-secure domain, you will lose the padlock.

It might even get worse. Your user might see this security prompt:

So please be sure to serve all your assets from your https://... domain.


Need Your Help

Why do dates at infinity look like NAs but act like dates?

r date infinity

I was trying to figure out the best way to deal with Postgresql's ability to represent Infinity and -Infinity in their timestamps when using RPostgreSQL to bring data over into R. Along the way I f...

reducing cycle of redeployment of Shiny Applications in RStudio

r deployment shiny rstudio redeploy

Whenever I make changes to Shiny Applications made through RStudio and which is hosted in shiny apps, I have to redeploy it which takes time. How can it this redeployment time be cut short. What

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.