attr('value', '') != val('') pour les inputs

This commit is contained in:
Antonin 2016-10-06 23:04:39 +02:00
parent 1206975d30
commit c9c4e945b8

View File

@ -148,7 +148,7 @@ $(document).ready(function () {
$(this).find('.hours:gt(2)').parent().remove(); $(this).find('.hours:gt(2)').parent().remove();
}); });
$('#d0-h0').focus(); $('#d0-h0').focus();
$selected_days.find('fieldset .hours').attr('value', ''); $selected_days.find('fieldset .hours').val('');
}); });
// Button "Remove all days" // Button "Remove all days"