Click to See Complete Forum and Search --> : Show/Hide Div


Dysan
12-28-2007, 09:41 PM
Using JavaScript, how do I show/hide a div, upon clicking the appropriate button?

<html>
<head>
<title></title>
</head>

<body>
<form name="form1" method="post" action="">
<input type="submit" name="Submit" value="Show">
<input type="submit" name="Submit2" value="Hide">
</form>
</body>
</html>

NogDog
12-29-2007, 12:07 AM
http://www.google.com/search?q=show+or+hide+div+via+javascript