📅  最后修改于: 2022-03-11 14:57:32.200000             🧑  作者: Mango
var $selects = $("select");
$selects.on("change", function(){
var value = this.value;
$("option[value='" + value +"']", $selects).prop("disabled", true);
});