Ext.MessageBox.confirm无反应
<scripttype="text/javascript"src="${path}/extjs/ext-all.js"></script><scripttype="tex...
<script type="text/javascript" src="${path}/extjs/ext-all.js"></script>
<script type="text/javascript">
function exitSystem() {
Ext.MessageBox.confirm('信息','确定要退出医药管理系统吗?', function (select) {
if (select == 'yes') {
window.open('', '_self', '');
window.close();
}
});
}
</scripti>
<a href="javascript:exitSystem();" title="退出"></a>为什么点击这个没有反应
<link rel="stylesheet" type="text/css" href="${path}/ext/resources/css/ext-all.css"/>
<script type="text/javascript" src="${path}/ext/ext-all.js"></script>
<script type="text/javascript" src="${path}/ext/locale/ext-lang-zh_CN.js"></script>
运行后 浏览器提示
Uncaught TypeError: Cannot read property 'model' of undefined localhost/:3
Uncaught TypeError: Cannot call method 'confirm' of undefined 展开
<script type="text/javascript">
function exitSystem() {
Ext.MessageBox.confirm('信息','确定要退出医药管理系统吗?', function (select) {
if (select == 'yes') {
window.open('', '_self', '');
window.close();
}
});
}
</scripti>
<a href="javascript:exitSystem();" title="退出"></a>为什么点击这个没有反应
<link rel="stylesheet" type="text/css" href="${path}/ext/resources/css/ext-all.css"/>
<script type="text/javascript" src="${path}/ext/ext-all.js"></script>
<script type="text/javascript" src="${path}/ext/locale/ext-lang-zh_CN.js"></script>
运行后 浏览器提示
Uncaught TypeError: Cannot read property 'model' of undefined localhost/:3
Uncaught TypeError: Cannot call method 'confirm' of undefined 展开
2个回答
2014-03-04
展开全部
Ext.onReady 预加载
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询