|
-
Nov 17th, 2000, 05:30 AM
#1
Thread Starter
Addicted Member
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
-
Nov 17th, 2000, 09:58 AM
#2
Frenzied Member
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>
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|