I was trying to include
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js">
I need to edit the src path dynamically. That is, I need to change the protocol(http/https) dynamically. How can I write the src which calls the url like, location.protocol+ajax.googleapis......