-
Here goes...I need to create a dynamic HTML page. The contents of the page depends on the user's answer. Contents here means text boxes and stuffs like that.
How can I comment out those HTML codes.
Example,
<INPUT Type="Text" id="abc" name="abc">
to
<!--<INPUT Type="Text" id="abc" name="abc">-->
Thanks.
-
For IE, you can set an element's ".style.visisibility" to "visible" or "hidden". I'm sure this code won't work with Netscape, though.
Javascript:
Code:
function menuExpand() {
//show menu when mouse is over
menu.style.visibility = "hidden"
menu2.style.visibility = "visible"
}
HTML:
Code:
<div id="menu" onmouseover="menuExpand()">
<a href="">Menu...</a>
</div>
Josh