Skip to content

Instantly share code, notes, and snippets.

@jauderho
Created March 9, 2009 20:39
Show Gist options
  • Save jauderho/76464 to your computer and use it in GitHub Desktop.
Save jauderho/76464 to your computer and use it in GitHub Desktop.
//code fragment to load jquery
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
if (typeof(jQuery) === "undefined") {
google.load("jquery", "1.2.6");
}
</script>
<script type="text/javascript">
// Safe to use jQuery at this point.
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment