`

Extjs 一些新的体会吧

 
阅读更多

1 在iframe页面里如果需要弹出window 则一般window在市iframe页面内的 如果要在整个页面之上 就用

 

  new top.Ext.Window 来创建

 

2 Extjs 要 ajax 方式 提交html页面的form

 

   var form= Ext.getDom('extForm');  //extForm为id
Ext.Ajax.request( {
                    url : "/conditionMenu.do?method=saveConditions&actionMethon="+form.action+"&menu_name="+simple.getForm().getValues().menu_name+"&menu_id="+parentRequest("menu_id"),
                    method : 'post',
                    form : form.name, // 指定表单名字
                    success : function(response, options) {
                     win.hide();
                    },
                    failure : function() {
                    }
                   });



 

分享到:
评论
1 楼 starhmx 2011-10-07  
我在使用new top.Ext.Window({……})创建窗口时,报js错误“top.Ext is undefined”,能告诉为什么吗?

相关推荐

Global site tag (gtag.js) - Google Analytics