http://adandelion.cnblogs.com/archive/2005/10/26/262666.aspxfunction openChild(){ var k = window.showModalDialog("child.html",window,"dialogWidth:335px;status:no;dialogHeight:300px");
if(k != null)
document.getElementById("txt11").value = k;
}
if(k != null)
document.getElementById("txt11").value = k;
}
if(typeof(k)!="undefined"){
document.getElementById("textvalue").value=k;
}