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

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

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

All overlapping substrings matching a java regex -