xpblueScreenOfDeath
Programmer
- Sep 1, 2004
- 87
How do I create a new list item in a listbox in javascript? I tried the follow but it doesn't work in Pocket PC IE.
Code:
list.options[list.options.length] = new Option('text', 'value');