tobeyt23 Posted September 8, 2006 Share Posted September 8, 2006 I would like to have drop-down list hiding until someone checks a checkbox. What is the best way to achieve this, any and all suggestions are appreciated!!! Quote Link to comment Share on other sites More sharing options...
paul2463 Posted September 8, 2006 Share Posted September 8, 2006 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 TRUEthen you could define CHECKBOX "SELECTED" == TRUE - LIST "VISIBLE" == TRUE and vice versaas I said its been ages and if I am wrong I am sorry Quote Link to comment Share on other sites More sharing options...
radalin Posted September 9, 2006 Share Posted September 9, 2006 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.