ITeye博客

jquery取checkbox选中的值

wing123 · 2014-07-10 13:55 · jquery · 移动开发 · Markdown

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

 

 

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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。