ext监听事件方法[初级篇]

时间:2008-04-27    点击:152   
<script>function a(){alert('some thing');}Ext.onReady(function(){
    Ext.get("btnAlert").addListener("click",a);//这里监听
           //或者使用
           Ext.get("btnAlert").on("click",a);//效果相同
     });</script>
<input id="btnAlert" type="button" value="alert框" />
定义select的边框颜色
JavaScript对象模型-执行模型
JavaScript面象对象设计
JS event使用方法详解
ext for eclipse插件安装方法
> 返回     
地址:上海市普陀区胶州路941号长久商务中心 电话: QQ:
© Copyright 2012 上海网络 Product All Rights Reserved