jquery 将元素从disable设置为enable

来源:互联网 发布:python 牛b 编辑:程序博客网 时间:2024/06/10 03:36

1

$().attr("disabled", "disable");

$().removeAttr("disabled");


2$().attr("disabled", true); 

$().attr("disabled", false); 


3$().attr("disabled", "");

0 0
原创粉丝点击