Hello Select Control in HTML (COMBO BOX) does have 2 values
<Code Value> <Text Value>
Now say my Select id= SelectID
then i can get the value of that using
document.getElementByID(“SelectID”).value
<option value=100> mystring</option>
document.getElementByID(“SelectID”).value
Now this will get me 100
but i want to get mystring
I Tried
document.getElementByID(“SelectID”).text
but it didnt worked. How i can get the text value using javascript.
Thanks in advance
Regards