Check if a radio button is checked with jQuery

<form name="myForm">
   <label>Birds<input name="myButton" type="radio" value="Birds" /></label>
   <label>Dogs<input name="myButton" type="radio" value="Dogs" /></label>
   <label>Cats<input name="myButton" type="radio" value="Cats" /></label>
   <p style="color:red;"></p>
</form>
<script>
$('form[name=myForm] input[type=radio]').click(function() {
   if($(this).is(':checked')) {
      $(this).parent().parent().children('p').html($(this).val()+' are selected');
   }
});
</script>

 

Example