Page 1 of 1

drop down box and checkbox

Posted: Tue Mar 28, 2006 11:26 am
by afma_afma
hello there,
i am a newbie and so would like to know the following things:
a.how to make checkbox invisible in form load.
b.then how to make the checkbox visible after u select
something in a dropdown box.

thanx in advance
ahmed

Posted: Tue Mar 28, 2006 12:46 pm
by feyd
That involves Javascript and CSS, not PHP. The checkbox should have a "display: none" for it's style when loaded. Using the onchange event of the drop-down should toggle the display setting to block or inline, depending on how you want it to display.


Moved to Client-side.