I have two radio Buttons .when select one radio button it will display one div.
and select another radio button it has to show another div and firts div has to hide and .here is my code but it is not working fine
<script type="text/javascript" language="javascript">
$(document).ready(function() {
$("#rdb1").click(function() {
$("#rdb2").prop("checked", false);
$("#txtdiv").css('visibility', 'visible');
$("#dropdiv").css('visibility', 'hidden');
});
$("#rdb2").click(function() {
$("#rdb1").prop("checked", false);
$("#txtdiv").css('visibility', 'hidden');
$("#dropdiv").css('visibility', 'visible');
});
});
</script> ...
Go to the complete details ...