在我的aspx頁面:ext.js未定義
<script type="text/javascript">
Ext.onReady(function() {
Ext.get('mb1').on('click', function(e) {
Ext.MessageBox.confirm('Confirm', 'Are you sure you want to do that?', showResult);
});
function showResult() {
Ext.example.msg('test');
</script>
<div>
<asp:Button ID="mb1" runat="server" Text="Button" />
</div>
我收到錯誤消息 「ext是不確定的」。誰能幫我?
你有沒有包括所有必要的腳本文件? – rahul 2009-11-27 06:12:43