📜  只读复选框角度 - Javascript代码示例

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

代码示例2
//This will make all read-only check boxes truly read-only
$('input[type="checkbox"][readonly]').on("click.readonly", function(event){event.preventDefault();}).css("opacity", "0.5");