onclick="SelectListBox()"
function SelectListBox()
{
var url = "选择数据的URL地址";
var strRtn = window.showModalDialog(url , "", "dialogWidth:400px; dialogHeight:400px; dialogLeft: status:no; directories:yes;scrollbars:yes;Resizable=no;");
if (strRtn != "")
{
document.getElementById("textbox").value == ""
}
}
在ListBox选择数据页面中调用
function retVal(Rval)
{
window.returnValue= Rval;
window.close();
}
温馨提示:答案为网友推荐,仅供参考