You are here: irt.org | About | Feedback | 3317 [ previous next ]
Feedback on:
irt.org FAQ Knowledge Base Q840
Sent by
steve myers on November 13, 2001 at 06:29:59:
Worth:
Worth reading
Length:
Just right
Technical:
Not technical enough
Comments:
its possible to do this using the .text and .value properties, eg:
var list = document.forms[0].elements[0];
list.options[0].text = "new text";
list.options[0].value = "new value";