Skip to content

Instantly share code, notes, and snippets.

@alvin2ye
Created July 10, 2009 16:07
Show Gist options
  • Save alvin2ye/144591 to your computer and use it in GitHub Desktop.
Save alvin2ye/144591 to your computer and use it in GitHub Desktop.
google ajax loading
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript" language="javascript">
google.load("jquery", "1.2");
google.load("jqueryui", "1.5.2"); // 不用 jQuery UI 可以不用此行
</script>
<script type="text/javascript" language="javascript">
$(document).ready(function() {
alert($);
});
</script>
<script type="text/javascript" language="javascript">
google.load("ext-core", "3.0.0");
</script>
<script type="text/javascript" language="javascript">
Ext.onReady(function() {
alert(Ext);
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment