Hi,
I am trying to figure it out how to to hide in onmouseout the select options of a form. Below is the code I got so far. It isn't working.
Please help.
Thanks
I am trying to figure it out how to to hide in onmouseout the select options of a form. Below is the code I got so far. It isn't working.
Please help.
Thanks
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-US">
<head>
<title></title>
<script type="text/javascript" language="JavaScript">
function hideSelectSearchCon() {
var selectSearchCon = document.getElementById("catGroup").options[];
selectSearchCon.style.visibility = "hidden";
}
</script>
<head>
<body>
<form action="#" method="post">
<select name="catGroup" id="catGroup" onmouseout="javascript:hideSelectSearchCon();">
<option value="Select" selected="selected">Select</option>
<option value="Select_2">Select_2</option>
<option value="Select_3">Select_3</option>
<option value="Select_4">Select_4</option>
<option value="Select_5">Select_5</option>
</select>
<input type="submit"/>
</form>
</body>
</html>
Comment