Need Improvement with this script
Posted
by manndaar
on Stack Overflow
See other posts from Stack Overflow
or by manndaar
Published on 2010-06-17T20:11:16Z
Indexed on
2010/06/17
20:23 UTC
Read the original article
Hit count: 202
JavaScript
|jQuery
This script I have found on StackOverflowe only...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style>
#appear_div { display: none; }
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script>
$(document).ready(function() {
$('#appear').click(function() { $('#appear_div').show(); });
});
</script>
</head>
<body>
<input type="checkbox" id="appear">
<div id="appear_div">
<input type="checkbox" id="cb1">Check me <input type="text" id="text1">
</div>
</body>
</html>
I need further development with this.
I want to hide div when uncheck the checkbox.
& How to add Fading effect to it ?
Thanx
© Stack Overflow or respective owner