jQuery judges whether the checkbox is selected, three ways:
one: $("#").attr("checked")==true //selected state
Two : $("#").checked()=="checked "
Three: $("#").is(":checked")==true
JQuery to check if checkbox is checked
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326530212&siteId=291194637
Recommended
Ranking