hi all wat i m trying here is to hide a div using two radio buttons with help of jqueryjquery..but this does'nt seem to b working..here is the fill code if this works probably i can use it in my php scrip..i m new to jquery so,,,,,,,,,
<html>
<body>
<head>
<script language="javascript">
$(document).ready(function() {
$('#yes').click(function(){
$('#tab').show();
});
$('#no').click(function(){
$('#tab').hide();
});
});
</script>
</head>
<form>
<input type="radio" value="no" name="rad1" id="no" >hide
<input type="radio" value="yes" name="rad2" id="yes">show
<div id="tab" style="display: block;">hello
</div>
</form>
</body>
</html>