<!--
'dialogArguments' Syntax and Note
Note:
Read-only property.
Returns the parameter array passed to showModalDialog() or showModelessDialog().
Syntax:
window.dialogArguments
'dialogArguments' Example
-->
<html>
<body>
<script language="JavaScript">
function myfunction() {
var myArguments = new Object();
myArguments.param1 = document.all.myColor.value;
window.showModalDialog("http://blog.csdn.net/qmnx", myArguments, '');
}
</script>
<select id="myColor">
<option value="red">Red</option>
<option value="green">Green</option>
<option value="blue">Blue</option>
<option value="yellow">Yellow</option>
</select>
<button οnclick="myfunction();">Open Window</button>
</body>
</html>
<!--
'dialogArguments' is applied to
+----------------+-----------------------------------------------+
| Applied_To |window |
+----------------+-----------------------------------------------+
-->
dialogArguments
最新推荐文章于 2022-04-13 11:22:04 发布