Hi,
sorry for the excessive number of questions, but, is it possible to hide a select list box. I want to display details contained in a hidden select box based on the select of a user in a visible select list box.
Thanks in advance.
Lenin
Printable View
Hi,
sorry for the excessive number of questions, but, is it possible to hide a select list box. I want to display details contained in a hidden select box based on the select of a user in a visible select list box.
Thanks in advance.
Lenin
You can try:
[code]
<script language=javascript>
if (document.all) //IE
{
document.writeln("<div id=\"HiddenSelect\" style= \"visibility: hidden;\">");
else if (document.layers) //Netscape
{
document.writeln("<layer id=\"HiddenSelect\" z-index=\"100\" visibility=\"hide\">");
}
</script>
<SELECT>
blah blah
</SELECT>
<script language="JavaScript">
if (document.all) //IE
{
document.writeln("</div>");
}
else if (document.layers) //Netscape
{
document.writeln("</layer>");
}
</script>