标签:jquer something 判断 box checkbox str get bsp query
方法一:
if ($("#checkbox-id")get(0).checked) {
// do something
}
方法二:
if($(‘#checkbox-id‘).is(‘:checked‘)) {
// do something
}
方法三:
if ($(‘#checkbox-id‘).attr(‘checked‘)) {
// do something
}
标签:jquer something 判断 box checkbox str get bsp query
原文地址:http://www.cnblogs.com/lx1137433756/p/6123513.html