游游淡淡.net

...

导航

2016年5月29日 #

jquery 判断checkbox是否选中几个版本的区别

摘要: $('#checkbox1').prop('checked') - in jQuery 1.6+, usually the way to go $('#checkbox1').is(':checked') - all jQuery versions, but slower $('#checkbox1 阅读全文

posted @ 2016-05-29 16:27 游游淡淡 阅读(136) 评论(0) 推荐(0)