![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Info about the 'Option'-object: http://www.javascriptkit.com/jsref/s...shtml#section2 |
#2
| |||
| |||
|
|
Sat, 21 Jun 2008 05:26:33 -0700 (PDT), /Bart Van der Donck/: Info about the 'Option'-object: http://www.javascriptkit.com/jsref/s...shtml#section2 I've always wondered how standard (official or not) is the Option object? |
|
I mean isn't it better to use Document.createElement("option") and the add() / remove() methods of the HTMLSelectElement [1], or probably just Node.appendChild() / Node.removeChild()? * |
|
I've not found references to the Option object in the "Gecko DOM Reference" [2] and the MSDN Library [3] - have I missed them? |
#3
| |||||
| |||||
|
|
Sat, 21 Jun 2008 05:26:33 -0700 (PDT), /Bart Van der Donck/: Info about the 'Option'-object: http://www.javascriptkit.com/jsref/s...shtml#section2 I've always wondered how standard (official or not) is the Option object? |
|
I mean isn't it better to use Document.createElement("option") |
|
and the add() / remove() methods of the HTMLSelectElement [1], |
|
or probably just Node.appendChild() / Node.removeChild()? |
|
I've not found references to the Option object in the "Gecko DOM Reference" [2] and the MSDN Library [3] - have I missed them? |
#4
| |||
| |||
|
|
Stanimir Stamenkov wrote: I've not found references to the Option object in the "Gecko DOM Reference" [2] and the MSDN Library [3] - have I missed them? Yes. |
#5
| |||
| |||
|
|
Sat, 21 Jun 2008 07:51:39 -0700 (PDT), /Bart Van der Donck/: Stanimir Stamenkov wrote: I've not found references to the Option object in the "Gecko DOM Reference" [2] and the MSDN Library [3] - have I missed them? Yes. Could you be so kind and provide them for me? *Thanks. |
#6
| |||
| |||
|
| http://msdn.microsoft.com/en-us/libr...77(VS.85).aspx http://devedge-temp.mozilla.org/libr...ce/option.html |
#7
| |||
| |||
|
|
Stanimir Stamenkov wrote: Sat, 21 Jun 2008 05:26:33 -0700 (PDT), /Bart Van der Donck/: Info about the 'Option'-object: http://www.javascriptkit.com/jsref/s...shtml#section2 I've always wondered how standard (official or not) is the Option object? The Option-object is one of the eldest around and was already supported in the first j(ava)script versions. |
![]() |
| Thread Tools | |
| Display Modes | |
| |