change checked not working

change checked not working

Hi ! my actual code is not working, the checkbox is not checked as expected

HTML
  1. <fieldset id="jform_featured" class="btn-group btn-group-yesno radio">
  2. <input type="radio" id="jform_featured0" name="jform[featured]" value="1">
  3. <label for="jform_featured0" class="btn">Yes</label>
  4. <input type="radio" id="jform_featured1" name="jform[featured]" value="0" checked="checked">
  5. <label for="jform_featured1" class="btn active btn-danger">No</label>
  6. </fieldset>
JQuery

  1. <script>
  2. jQuery(function ($) {
  3. $(document).ready(function() {
  4. $("input[name='jform[featured]']").change(function(){
  5. $("#jform_featured1").prop("checked","");
  6. $("#jform_featured0").prop("checked","checked");
  7. });
  8. });
  9.                
  10. });
  11. </script>
Thanks for helping