[Javascript] IE verses the option element onclick event

diego nunes dnunes at gmail.com
Fri Dec 30 20:50:29 CST 2005


<select onchange="alert('Selected: '+ this.option[this.selectedIndex].value);">
  <option value="first item">First</option>
  <option value="second item">Second</option>
</select>

On 29/12/05, Roderick A. Anderson <raanders at acm.org> wrote:
> Suggestions of where to look for a QaD answer of how to determine which
> <option /> was selected when the onchange event fires for the <select />.

--
diego nunes



More information about the Javascript mailing list