[Javascript] adding Option to an opener.form.select

Terry bader at tcbader.com
Tue Mar 25 08:19:31 CST 2003


code
-------------------------------------------
newOption = new Option(optTxt, optVal, 0, 1);
opener.#attributes.formName#.#attributes.elem#[opener.#attributes.formName#.#attributes.elem#.length] = newOption;


ok, able to read values from the opener.form.select using the same syntax as above but i cannot seem to add a new option...  

btw, the ## are CF variables, just assume that attributes.formName is the name of the form from opener and attributes.elem is the name of the select object......

comments??


~ Terry
757 581-5981
AIM/Yahoo: lv2bounce

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20030325/dad217d6/attachment.htm>


More information about the Javascript mailing list