ShowModalDialog页面传值

ShowModalDialog页面传值 function  OnClick()
ShowModalDialog页面传值
{
ShowModalDialog页面传值    S
=window.showModalDialog("b.htm");
ShowModalDialog页面传值    document.all.item(
"Test").value=S;
ShowModalDialog页面传值}

ShowModalDialog页面传值
ShowModalDialog页面传值
< input type = button value = " OK "  onclick = " OnClick() " >
ShowModalDialog页面传值
ShowModalDialog页面传值
ShowModalDialog页面传值
ShowModalDialog页面传值S
= window.showModalDialog( " b.htm " );
ShowModalDialog页面传值document.all.item(
" Test " ).value = S;
ShowModalDialog页面传值window.returnValue 
=  document.all.item( " InputText " ).value;
ShowModalDialog页面传值window.close()
ShowModalDialog页面传值S
= window.showModalDialog( " b.htm " );
ShowModalDialog页面传值document.all.item(
" Test " ).value = S;
ShowModalDialog页面传值

你可能感兴趣的:(showModalDialog)