javascript - Hiding a DIV on return of if/else statement -
i've been trying hide div id #signup within code i'm working in , can't seem work i've been doing. way of hiding div id fading out , in return fading in new div #test ? here's got! html (index) <form id="signup" action="<?=$_server['php_self']; ?>" method="get"> <fieldset> <label for="email" id="address-label">email address</label> <input type="text" name="email" id="email" /> <input type="image" src="i/join.jpg" name="submit" value="join" class="btn" alt="join" /> </fieldset> </form> <div id="response"> <? require_once('inc/store-address.php'); if($_get['submit']){ echo storeaddress(); } ?> <div id="test">test</div> </d...