更新时间:2022-10-16 21:41:45
Put this in <head>
or in a .js
file which is included in <head>
.
$(document).ready(function() {
$("input[name=selectItems]").change(function() {
$(this).closest("tr").find("input[name^=mileage]").attr("disabled", !this.checked);
});
});