<input type="radio" name="regenerate" value="1" id="cus" />
<input type="radio" name="regenerate" value="2" id="gen" />
<input type="checkbox" name="renerateEmail" id="renerateEmail" />
<div id="txt" style="display:none"><input type="password" name="pass" id="pass" /><br />
<input type="password" name="repass" id="repass" /></div>
i want to hide and show the div "txt" when radio button has the value 1 , how can i do that.