How to show hide TextBox on RadioButton click in JavaScript?
<span>Do you have Passport?</span>
<input id="rbYes" type="radio" name="confirm" value="Yes" />Yes
<input id="rbNo" type="radio" name="confirm" value="No" />No
<hr />
<input id="txtPassportNumber" type="text" style="display:none" />
When click yes the show the TextBox else hide.