Если нужно, чтобы радио кнопка работала как чекбокс, то это можно имитировать следующим кодом:
$('.filters-spec input').click(function() {
if($(this).attr('previousValue') == 'true'){
$(this).prop('checked', '')
} else {
$(this).attr('previousValue', false);
}
$(this).attr('previousValue', $(this).prop('checked'));
filter_change_label();
});
- Log in to post comments