<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>