I would like to check the first radio button of each group. But there are some radio button that are disabled, so the script should ignore them and go to next non-disabled b
The below does what you want:
$(document).ready( function(){ $('input:radio:first-child').attr('checked',true); } );
Demo at: JS Bin.