3
在CheckboxGroup做出选择我有一个<CheckboxGroup>
如下:需要使用jQuery
<CheckboxGroup name="permitted">
<input type="checkbox" value="1" />Orders
<input type="checkbox" value="2" />Production
<input type="checkbox" value="3" />Dispatch
<input type="checkbox" value="4" />Returns
<input type="checkbox" value="5" />Sundry
<input type="checkbox" value="6" />Collection
<input type="checkbox" value="7" />Pending Amount
<input type="checkbox" value="8" />Pending Bills
<input type="checkbox" value="9" />Ledger
<input type="checkbox" value="10" />Day Book
</CheckboxGroup>
我试图做一些挑选出来的这个复选框,
想我需要的订单,调度使用jQuery进行检查。 我对我有相应的值1,3。
检查我的小提琴:FIDDLE
谢谢哥们。我还有一个疑问,我从ajax获得了1,2个,还有其他方面,以便我可以直接通过这个? – Santhucool
@Santhucool你怎么得到1,2?作为一个字符串? –
是的好友,你是现货! Yah它正在作为一个字符串 – Santhucool