js和jquery设置disabled属性为true使按钮失效_javascript技巧
来源:动视网
责编:小采
时间:2020-11-27 21:25:59
js和jquery设置disabled属性为true使按钮失效_javascript技巧
js和jquery设置disabled属性为true使按钮失效_javascript技巧:设置disabled属性为true即为不可用状态。 JS document.getElementByIdx(btn).disabled=true; jquery $(#btn).attr(disabled, true); html
导读js和jquery设置disabled属性为true使按钮失效_javascript技巧:设置disabled属性为true即为不可用状态。 JS document.getElementByIdx(btn).disabled=true; jquery $(#btn).attr(disabled, true); html

设置disabled属性为true即为不可用状态。
JS
jquery
html
js和jquery设置disabled属性为true使按钮失效_javascript技巧
js和jquery设置disabled属性为true使按钮失效_javascript技巧:设置disabled属性为true即为不可用状态。 JS document.getElementByIdx(btn).disabled=true; jquery $(#btn).attr(disabled, true); html