Getting text of html select in javascript?

Posted by poo on Stack Overflow See other posts from Stack Overflow or by poo
Published on 2010-04-19T16:06:58Z Indexed on 2010/04/19 16:13 UTC
Read the original article Hit count: 149

Filed under:
select.onchange = function() {
   this.value; 

}

It's easy to retrieve the value but now I need the text of the selected element. How to do it?

© Stack Overflow or respective owner

Related posts about JavaScript