---
title: "jquery取checkbox选中的值"
author: "wing123"
date: "2014-07-10T13:55:12Z"
tags: []
categories: ["移动开发"]
slug: "jquery-checkbox"
draft: false
lastmod: "2014-07-10T13:55:34Z"
id: 2090338
url: "https://wing123.iteye.com/blog/2090338"
---

$('input:checkbox\[name="PageVO.substationList"]:checked').each(  
                    function(){  
                        $(this).val();  
                    }  
 );

 

 

&lt;td align="left"&gt;  
                        &lt;s:checkbox name="PageVO.substationList" fieldValue="0" theme="simple"/&gt;全国  
                        &lt;s:checkboxlist name="PageVO.substationList" list="#request.substation" listKey="id" listValue="name"  theme="simple"/&gt;  
                    &lt;/td&gt;