title: Linking to jquery via https
body: <p>I'm developing a login page, and being new, started off building just using http. Everything is working the way I expect to this point. Now I'm trying to limit access strictly via https. In my html head, I currently have:</p>
  
  <p><code>&lt;script type="text/javascript" src="/localhost/js/jquery-2.0.2.js"&gt;&lt;/script&gt;</code>
  <code>&lt;script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"&gt;&lt;/script&gt;</code></p>
  
  <p>However, when accessed via https, the link to jquery-ui.js gets blocked due to being insecure content. I can change the link to <a href="https://code.jquery.com/ui/1.10.3/jquery-ui.js" rel="nofollow">https://code.jquery.com/ui/1.10.3/jquery-ui.js</a>, but then I get an "Uncaught TypeError: Property '#' of object # is not a function.", on line 8268 of jquery-2.0.2.js. If I download the jquery-ui.js file and link to it locally, everything works http and https. But why does it not work when hosted externally? Can someone explain why this is happening and what I can do to resolve it? Is there a benefit/drawback to hosting linked files locally versus externally? Thank you in advance!</p>