prototype | prototypejs framework help :how to get selected item text field of a html select control

Posted by Weiwei on Stack Overflow See other posts from Stack Overflow or by Weiwei
Published on 2010-04-26T23:53:44Z Indexed on 2010/04/27 0:23 UTC
Read the original article Hit count: 618

Filed under:
|
|
 <select name="DropList" id="serverDropList"> 
  <option selected="selected" value="2">server1:3000</option> 
  <option value="5">server3:3000</option> 
 </select> 

i know in prototype i can get value by $('serverDropList').value but how can i get "server1:3000" ?

Thanks

© Stack Overflow or respective owner

Related posts about prototypejs

Related posts about prototype