日期:2014-05-16 浏览次数:20626 次
$.ajax({ type:"POST", dataType: "json", url:"../bzgl/GetOrganizationbyAjaxAction.action", data:"qhdm="+qhdm+"&qfbs="+qfbs+"&orgname="+likename, success:function(data){ if(data.length==1){ //var newOption=new Option(data[0].text,data[0].id); //document.getElementById("cxorgname").options.add(newOption); textarea.value+=data[0].text+'\n'; document.getElementById('cxorgid').value+=data[0].id+','; document.getElementById("likename").value=""; }else { window.open("../bzgl/GetOrganizationbyAjaxAction.action?qhdm="+qhdm+"&qfbs="+qfbs+"&orgname="+EncodeUtf8(likename)+"&type=fuxuan","","width=850px,height=500px,scrollbars=yes"); } } });
?
Open出来的页面加滚动条 "width=850px,height=500px,scrollbars=yes" Open子页面 操作父页面 window.opener
?