Я хочу проверить первый переключатель каждой группы. Но есть некоторые переключатели, которые отключены, поэтому script должен игнорировать их и перейти к следующей не отключенной кнопке.
Я написал что-то вроде этого, но это не работает:
$(document).ready(function(){ if ($("input['radio']).is(':disabled')) { $(this).attr('checked', false ); } else { $(this).attr('checked', true ); } });
Спасибо большое