Hi anybody plz give me code for onmouseover dropdown list

Hi anybody plz give me code for onmouseover dropdown list
soma_giduguAsked:
Who is Participating?
 
sunithnairCommented:
Is this what you want?
<script language="javascript">
  function MouseOverFunction(src)
  {
    alert(src.selectedIndex)
  }
</script>
<select id="test" name="test" onmouseover="MouseOverFunction(this)">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>

Open in new window

0
 
Loganathan NatarajanLAMP DeveloperCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.