Hi,
You can write something like this...
<html>>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#toggleDiv').click(function(){
$('#MyDiv').toggle();
});
});
</script>
</head>
<body>
<input type="button" id="toggleDiv" value="Toggle Div With TextBox">
<br />
<br />
<div id="MyDiv">
<input type="text" name="MyTextBox" value="TextBox 1" />
</div>
</body>
</html>