/ Published in: jQuery

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// jQuery dynamic loader - load jQuery using pure javascript js // if jQuery is undefined or does not exist, then load it if ( !window.jQuery ) { var jqscript = document.createElement('script'); jqscript.setAttribute("type", "text/javascript"); jqscript.setAttribute("src", "http://code.jquery.com/jquery.min.js"); document.getElementsByTagName("head")[0].appendChild(jqscript); };
Comments
