父页面
//查询客户资料信息
function getDownListData(GuestName)
{
var pos,str,para,parastr,tempstr1;
tempstr="";
str = window.location.href;
pos = str.indexOf("?")
parastr = str.substring(pos+1);
var result =window.showModalDialog("selectGuestwc.aspx?GuestName="+escape(GuestName)+"&"+parastr,"","dialogWidth:800px;dialogHeight:600px;scroll:yes;help:0;status:no;");
if(result!=undefined)
{
document.getElementById("txtselecName").innerText=result.split(',')[0];
子页面
function selectInfo(name)
{
window.returnValue =name;
window.close();
}
现在问题是:
子页面里分页时,点击下一页会弹出一个页面,浏览输入框内容
javascript:__doPostBack('PageNavigator1$lnkbtn1','')
//查询客户资料信息
function getDownListData(GuestName)
{
var pos,str,para,parastr,tempstr1;
tempstr="";
str = window.location.href;
pos = str.indexOf("?")
parastr = str.substring(pos+1);
var result =window.showModalDialog("selectGuestwc.aspx?GuestName="+escape(GuestName)+"&"+parastr,"","dialogWidth:800px;dialogHeight:600px;scroll:yes;help:0;status:no;");
if(result!=undefined)
{
document.getElementById("txtselecName").innerText=result.split(',')[0];
子页面
function selectInfo(name)
{
window.returnValue =name;
window.close();
}
现在问题是:
子页面里分页时,点击下一页会弹出一个页面,浏览输入框内容
javascript:__doPostBack('PageNavigator1$lnkbtn1','')
其实你可以用仿对话框的弹出层的方式完成你这个功能,一切都在本页完成,方便多了。
仿对话框的弹出层的代码多如牛毛,你找个简单的就可以了