📌  相关文章
📜  jquery 禁用选择 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:43.542000             🧑  作者: Mango

代码示例3
//JS
$("#theSelect").change(function(){          
  var value = $("#theSelect option:selected").val();
  var theDiv = $(".is" + value);

  theDiv.slideDown().removeClass("hidden");
});


$("div a.remove").click(function () {     
  $(this).parent().slideUp(function() { $(this).addClass("hidden"); }); 
});

//HTML

​