Galina Besselyanova
asked on
CF adding value to cfselect list
Hello Experts.
Please help.
I have two forms
Parent.cfm - has cfselect LIST1 and cfinput BOX1
Child.cfm - popupwindow with cfinput BOX2
I need to pass val from BOX2 to LIST1.
I have no problem to pass val from BOX2 to BOX1 using following
opener.AcceptingControl.value = val
But how can i add val to LIST1 using the same approach?
Thank you in advance.
Please help.
I have two forms
Parent.cfm - has cfselect LIST1 and cfinput BOX1
Child.cfm - popupwindow with cfinput BOX2
I need to pass val from BOX2 to LIST1.
I have no problem to pass val from BOX2 to BOX1 using following
opener.AcceptingControl.value = val
But how can i add val to LIST1 using the same approach?
Thank you in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
What was missing is this piece : "elem.options[elem.options
Thanks a lot!