Return to Snippet

Revision: 27904
at June 26, 2010 09:04 by crispunk


Initial Code
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>
}

Initial URL
http://www.plan-zero.org

Initial Description
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 !

Initial Title
Check if Jquery Exist if not load it

Initial Tags
ajax, google, jquery, load

Initial Language
jQuery