combobox - mouseover on Combo box in javascript not working -


i have static combo box in html default value selected , other values can select drop down. want call javascript function onmouseover. not working. can associate events combo box ?

here's html:

<select id="sel">     <option>foo</option> <select> 

and js:

document.getelementbyid('sel').onmouseover = function() {     alert('bar') } 

works fine. can see here - http://jsfiddle.net/tszuk/


Comments

Popular posts from this blog

All overlapping substrings matching a java regex -

c++ - Using OpenSSL in a multi-threaded application -

php - Deleting/Renaming a locked file -