<label for="chkYes">
<input type="radio" id="chkYes" name="rbGrp1" /> Yes
</label>
<label for="chkNo">
<input type="radio" id="chkNo" name="rbGrp1" /> No
</label>
<hr>
<script>
$(function () {
$("input[name='rbGrp1']").click(function () {
if ($("#chkYes").is(":checked")) {
$("#IsTenancyYes").show();
} else {
$("#IsTenancyYes").hide();
}
});
});
</script>
No comments :
Post a Comment