Ext.Msg.alert('Status', 'Changes saved successfully.');
Ext.Msg.prompt('Name', 'Please enter your name:', function(btn, text){
if (btn == 'ok'){
}
});
Ext.Msg.show({
title:'Save Changes?',
msg: 'Your are closing a tab that has unsaved changes. Would you like to save your changes?',
buttons: Ext.Msg.YESNOCANCEL,
fn: processResult,
animEl: 'elId'
});
我想在 chrome 控制台里执行一段脚本,关闭这个对话框,怎么搞??
追加
我用 document.getElementById('id').click();可以关了
但是目标页面只能在 ie6 里面显示,我怎么能找到他的 id ??