I want my form to appear when i click on the button sign up
<div id="signup">
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST" id="form1">
<input name="user" type="text" placeholder="Username" size="30" >
<input name="pass" type="password" placeholder="Password" size="30" >
<input class="btn" type="submit" value="sign up" name="signup">
</div>
this is the jQuery code:
<script>
$( "#form" ).click(function() {
$( "#signup" ).show( "Clip", 1000 );
});
</script>
Aucun commentaire:
Enregistrer un commentaire