---
title: "jquery 选中checkbox个数"
author: "wyl232"
date: "2010-05-25T18:08:48Z"
tags: []
categories: ["Web前端"]
slug: "jquery-checkbox"
draft: false
lastmod: "2010-05-25T18:08:48Z"
id: 675303
url: "https://wyl232.iteye.com/blog/675303"
---

```
var num=jQuery("[name='msgnum']:checked").length;
alert("num --"+num);
```