<script>
$("#btn1").click(function() {
$("#logpop").hide("slow");
});
</script>
<body>
<div id="logpop">
<div class="logpop_box">
<div class="form">
<input class="input_box" name="email" type="text" placeholder="Woosuk"/> <br/><br/>
<input class="input_box" name="pass" type="password" placeholder="******"/> <br/>
<button id="btn1">Login</button>
</div>
</div>
</div>
I want to make div disappear when i click the button. but It dose not disappear. Any thought
btn1element, yet still within the<body></body>, and it will work. Some people like to put their scripts just before the closing</body>tag.