风暴烈酒辰

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年4月14日

摘要: 1、选择table中第一列的checkbox$("table tr td:first-child input[type='checkbox']") 2、选择table中所有checkbox$("table input[type='checkbox']") 3、判断table中所有checkbox是否有选中项$("table input[type='checkbox']:checked")length>0 阅读全文
posted @ 2013-04-14 21:30 风暴烈酒辰 阅读(111) 评论(0) 推荐(0) 编辑