yii2-netdisk/web/js/user-info.js
2024-03-04 16:51:19 +08:00

9 lines
251 B
JavaScript

$(document).ready(function() {
$('#deleteConfirm').change(function() {
if(this.checked) {
$('#deleteButton').prop('disabled', false);
} else {
$('#deleteButton').prop('disabled', true);
}
});
});