其他分享
首页 > 其他分享> > uniGUI学习之脱离Delphi直接写ExtJS从入门到精通03(47)

uniGUI学习之脱离Delphi直接写ExtJS从入门到精通03(47)

作者:互联网

<link  rel="stylesheet"  href="theme-gray-all.css">
<script src="ext-all.js" ></script>
    <script type="text/javascript">
Ext.onReady(function(){

    var EXTtest = Ext.get('test');

    EXTtest.on('click', function() {
        alert("handle1");
    });
    EXTtest.on('click', function() {
        alert("handle2");
    });

});
        </script> 
    <body>
        <button id="test">显示</button>
    </body>

 

标签:function,03,uniGUI,47,alert,Ext,EXTtest,click
来源: https://www.cnblogs.com/tulater/p/14890232.html