jquery radio checkbox selected failure

When using jquery select the radio button or checkbox, usually to deal with attr ( "checked", "true"), which was previously not a problem (before jquery1.6 version). In a work with attr () can not always take effect, in the online search a bit, there are articles mentioned prop (). I also use prop () tried it, the effect can be selected to achieve normal. If you have encountered such problems in ensuring proper grammar jquery case, use the prop () to try.

Guess you like

Origin blog.csdn.net/uvyoaa/article/details/83991413