Hari Somaskanthan
11-21-2000, 08:22 PM
Hi,
I have created a menu in my web page. Some of the form elements (i.e. select)
are top of the drop down menu. So, I set the visibility to hidden for those
elements while displaying the drop down menu. It works fine in IE4. But I
don't know how to hide those controls in Netscape.....
Here is the sample code
<Script>
function HideSel()
{
document.all.cboSMDF.style.visibility = "hidden";
}
</SCRIPT>
<BODY>
<form name="frm">
<select name="cboSMDF" size="1">
<option>option1</option>
</select>
<input type=button Onclick="HideSel()" value="Hide">
</form>
Thanks for your help
Hari Somaskanthan
I have created a menu in my web page. Some of the form elements (i.e. select)
are top of the drop down menu. So, I set the visibility to hidden for those
elements while displaying the drop down menu. It works fine in IE4. But I
don't know how to hide those controls in Netscape.....
Here is the sample code
<Script>
function HideSel()
{
document.all.cboSMDF.style.visibility = "hidden";
}
</SCRIPT>
<BODY>
<form name="frm">
<select name="cboSMDF" size="1">
<option>option1</option>
</select>
<input type=button Onclick="HideSel()" value="Hide">
</form>
Thanks for your help
Hari Somaskanthan