| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
jopen
11年前发布

让提供按纽失效的jQuery代码片段

$('input[type="submit"]').attr("disabled", true);    Now, in order to enable the disabled attribute, use the following line of code:    $('input[type="submit"]').removeAttr("disabled”);