title: jquery radiobutton select value
body: <pre><code>  &lt;input type="radio" name="regenerate" value="1" id="cus" /&gt;
           &lt;input type="radio" name="regenerate" value="2" id="gen" /&gt;
           &lt;input type="checkbox" name="renerateEmail" id="renerateEmail" /&gt;
       &lt;div id="txt" style="display:none"&gt;&lt;input type="password" name="pass" id="pass" /&gt;&lt;br /&gt;
       &lt;input type="password" name="repass" id="repass" /&gt;&lt;/div&gt;
  </code></pre>
  
  <p>i want to hide and show the div "txt" when radio button has the value 1 , how can i do that.</p>