|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Proper DOM help - Selecting <option> text
hi,
how is the proper code to catch the text from select options? like: Code:
<select name="Blablaselect"> <option value="Blablavalue">Blablatext</option> </select> ok, value would be document.Blablaselect.value but what about the text (Blablatext) ? |
|
#2
|
||||
|
||||
|
nevermind.
document.select.name.options[document.select.name.selectedIndex].text ![]() |
![]() |
| Viewing: Dev Articles Community Forums > Programming > JavaScript Development > Proper DOM help - Selecting <option> text |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|