I am currently using addEventListener on a select:
<select> <option value="Apple">Mac</option> <option value="Microsoft">Windows</option> </select> document.querySelector("select").addEventListener("change",function(ev){ //do something here... }, false); But I can't figure out how to get the original element from event.
PS: I don't want to do this:
<select onchange="func(event,this)"> This will only mess up the HTML...