Ext 2.0下Jquery的整合使用示例

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
    "http://www.w3.org/TR/html4/loose.dtd"
>
<HTML>
 
<HEAD>
  
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
  
<TITLE> Ext Application </TITLE>
  
<link rel="stylesheet" type="text/css" href="file:///E:/ext8/ext/resources/css/ext-all.css">
  
<script type="text/javascript" src="file:///E:/ext8/ext/adapter/jquery/jquery.js"></script>
  
<script type="text/javascript" src="file:///E:/ext8/ext/adapter/jquery/ext-jquery-adapter.js"></script>
  
<script type="text/javascript" src="file:///E:/ext8/ext/adapter/ext/ext-base.js"></script>
  
<script type="text/javascript" src="file:///E:/ext8/ext/ext-all.js"></script>

 
</HEAD>

 
<BODY>
  
<div id="myDiv">id="myDiv"</div> 
 
</BODY>
</HTML>
  
<script type="text/javascript">
    Ext.onReady(
function(){
        Ext.MessageBox.alert(
'helloworld', $("#myDiv").html());
    }
);
  
</script>
posted @ 2008-06-16 20:50 meetrice 阅读(...) 评论(...) 编辑 收藏