PDA

View Full Version : Getting the value from a select object with javascript.



R0b0t1
08-17-2007, 09:40 PM
So tell me... how is it done?


I've read many a tutorial. Don't give me noob points :).

Sp0rky
08-17-2007, 09:59 PM
+ noob points! lol, nah im jking.

This help at all?

http://www.javascriptkit.com/jsref/select.shtml

R0b0t1
08-17-2007, 11:43 PM
Yes, thanks Sp0rk-eh.

I thought you could get the value like in scar (combobox1.text) but you have to know the number of the item in JS.

cathering_
08-19-2007, 03:05 AM
W3 Schools have a HOLE reference of HTML DOM

R0b0t1
08-19-2007, 06:42 PM
Yep, and I didn't find it there.