Jun 30, 2003 #1 larryman Programmer Jun 16, 2000 63 US Hello, Please i need help on how to hide form's element and to make it appear in response to user event. Oysterbar ride to success. Keep Riding
Hello, Please i need help on how to hide form's element and to make it appear in response to user event. Oysterbar ride to success. Keep Riding
Jun 30, 2003 #2 vbkris Programmer Jan 20, 2003 5,994 IN use layers... show and hide them as u please... Known is handfull, Unknown is worldfull Upvote 0 Downvote
Jun 30, 2003 #3 SashiRaveendran Programmer Nov 6, 2001 865 GB you can use the visibility style property or the display property <a href="#" onclick="Div1.style.visibility='visible';">Show Div1</a><br> <a href="#" onclick="Div2.style.display='block';">Show Div2</a> <div style="visibility:hidden" id=Div1> hello </div> <div style="display:none" id=Div2> hello </div> Div1.style.visibility works in IE document.getElementById("Div1".style.visibility works for netscape 6 Upvote 0 Downvote
you can use the visibility style property or the display property <a href="#" onclick="Div1.style.visibility='visible';">Show Div1</a><br> <a href="#" onclick="Div2.style.display='block';">Show Div2</a> <div style="visibility:hidden" id=Div1> hello </div> <div style="display:none" id=Div2> hello </div> Div1.style.visibility works in IE document.getElementById("Div1".style.visibility works for netscape 6