Need Improvement with this script
- by manndaar
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