1
Beta / Re: https+jquery problem
« on: February 22, 2011, 09:58:18 AM »
Another option is to leave off the protocol when making the call. It is still a valid link. This is a trick Paul Irish coined (one of the jQuery guys). He calls it "Protocol Relative URL" and has exactly the example you are using. http://paulirish.com/2010/the-protocol-relative-url/
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>