Created
August 21, 2009 08:28
-
-
Save alvin2ye/171726 to your computer and use it in GitHub Desktop.
ext croe use google cdn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script type="text/javascript" src="http://www.google.com/jsapi"></script> | |
<script type="text/javascript" language="javascript"> | |
google.load("ext-core", "3.0.0"); | |
</script> | |
<script type="text/javascript" language="javascript"> | |
Ext.onReady(function() { | |
Ext.DomHelper.append(document.body, {tag: 'p', cls: 'some-class'}); | |
Ext.select('p.some-class').update('Ext Core successfully injected'); | |
}); | |
</script> | |
</head> | |
<body> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment