Jump to content

[SOLVED] Hide a dropdown list


tobeyt23

Recommended Posts

Its been a while since I did any Javascript coding but from what I can remeber, can you not set the VISIBLE property of the table to FALSE until a button is clicked changing its VISIBLE property to TRUE

then you could define CHECKBOX  "SELECTED" == TRUE - LIST "VISIBLE" == TRUE and vice versa

as I said its been ages and if I am wrong I am sorry
well put the list in a div like:
[code]
<div style="visibility:hidden; display:none;" id="iAmHidden">
....
</div>
[/code]
if someone check the checkbox then do something like:
[code]
<input type="checkbox" name="visibler" onChange="document.getElementById('iAmHidden').style='visibility:visible;';" />
[/code]

it should work.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.