标签云

微信群

扫码加入我们

WeChat QR Code

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年08月18日36分40秒

stackoverflow.com/questions/901712/…

2018年08月18日36分40秒

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

2018年08月18日36分40秒

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

2018年08月18日36分40秒