日期:2014-05-16 浏览次数:20391 次
handler:function() { var radios= new Array(); for (i=1;i<=5;i++){ alert(form1.getForm().getValues()["rad"+i]); radios[i]=form1.getForm().getValues()['rad'+i]; } alert(radios); form1.getForm().submit({ url : 'kfqa.do?actionsign=input', method : 'post', Params:{radios:radios}, waitMsg:'正在新增...', success : function(form1,action) { if(action.result.success) {Ext.Msg.alert('提示信息',action.result.msg);} else{Ext.Msg.alert('提示信息',action.result.msg); } }, failure : function(form1,action) { Ext.Msg.alert('提示信息',action.result.msg); } }); }
private String radio; public String getradio(){ return radio;}
private String[] radios; public String[] getallradio(){ return radios;}