Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 460
  • Last Modified:

Hi anybody plz give me code for onmouseover dropdown list

Hi anybody plz give me code for onmouseover dropdown list
0
soma_gidugu
Asked:
soma_gidugu
2 Solutions
 
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

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now