1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | <script type =”text/javascript”> Ext.onReady(function(){ Ext.get('okButton').on('click', function(){ var msg = Ext.get("msg"); msg.load({ url: [server url], // <-- replace with your url params: "name=" + Ext.get('name').dom.value, text: "Updating..." }); msg.show(); }); }); </script> <div id="msg" style="visibility: hidden"></div> Name: <input type="text" id="name" /><br /> <input type="button" id="okButton" value="OK" /> |
欢迎光临 电子技术论坛_中国专业的电子工程师学习交流社区-中电网技术论坛 (http://bbs.eccn.com/) | Powered by Discuz! 7.0.0 |