11智能在线
新记
Jquery利用is判断多选框是不是被选中
如题所述
举报该文章
相关建议 2016-05-25
<input type="checkbox" name="newsletter" id="test">
if($("#test").is(":checked")){
alert("选中");
}
else{
alert("没选中");
}
温馨提示:内容为网友见解,仅供参考
当前网址:
https://11.t2y.org/zz/f4q2s87vfvm72p78qvq.html
其他看法
无其他回答
相似回答
大家正在搜
相关问题
Jquery利用is判断多选框是不是被选中
js怎么判断一个复选框有没有被选中
jQuery如何判断哪个select被选中
jQuery如何判断哪个select被选中
判断QButtonGroup中哪个QRadioButton被...
jquery如何判断checkbox是否被选中,选中就显示,...
jquery如何判断checkbox是否被选中,选中就显示,...
jquery判断哪个checkbox被选中了