<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>
我想隱藏和顯示div「txt」,當單選按鈕的值爲1時,我該怎麼做。jquery radiobutton select value