[thelist] New select option

Stevenson Ngila Stevenson at epr.footman-walker.com
Wed Mar 26 07:33:18 CST 2003


am using:
<><><><<><><><<><><><<><><><<><><><<><><><<><><><<><><><<><><><<><><><<><><>
<<><><><<><><><<><><><
oDestination.options[ oDestination.options.length ] = new Option(
oOption.text, oOption.value );
<><><><<><><><<><><><<><><><<><><><<><><><<><><><<><><><<><><><<><><><<><><>
<<><><><<><><><<><><><

to dynamically create a new option in javascript but am getting the
following error:

<><><><<><><><<><><><<><><><<><><><<><><><<><><><<><><><<><><><<><><><<><><>
<<><><><<><><><<><><><
object doesn't support this property or method
<><><><<><><><<><><><<><><><<><><><<><><><<><><><<><><><<><><><<><><><<><><>
<<><><><<><><><<><><><

What could be the problem? Any ideas?

Thanks,
Stevenson Ngila
Footman-Walker Associates Ltd
http://www.footman-walker.co.uk




More information about the thelist mailing list