标签云

微信群

扫码加入我们

WeChat QR Code

如果复选框确定使用jQuery [复制]检查

Possible Duplicate:
Check checkbox checked property using jQuery

What is the correct way of accessing a checkbox to check if it's checked? Is it necessary to first check if that element exists in the DOM and then see if is checked or not?


See :checked

2018年06月19日29分35秒

stackoverflow.com/questions/901712/…

2018年06月19日29分35秒

Vega Given an appropriate DOMElement (which must exist), but not the most tidy way in jQuery.

2018年06月19日29分35秒

pst In the FM doesn't say if I first need to check if the element exists, and that was my doubt.

2018年06月19日29分35秒