khairul
7/4/2017 - 10:35 AM

get the innerhtml of the option tag

get the innerhtml of the option tag

<select onchange="alert(this.options[this.selectedIndex].text)">
  <option>foo
  <option>bar
  <option>foobar
</select>