/ Published in: jQuery
If you are working on apps development to adapt on different sites that you don't have access to them, and need to load Jquery, but don't wanna load it twice this will help you !
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if (typeof jQuery == 'undefined') { <script type="text/javascript" src="http://www.google.com/jsapi"></script> <script type="text/javascript"> google.load("jquery", "1.4.2"); </script> }