You are here: irt.org | FAQ | JavaScript | Form | Q1371 [ previous next ]
The following *should* work in JavaScript 1.1 enabled browsers:
<script language="JavaScript"><!-- var optionName = new Option(text, value, false, false) var selectLength = opener.document.formName.selectName.length; opener.document.formName.selectName.options[selectLength] = optionName;//--></script>