I have a CheckboxGroup
as follows:
<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>
I am trying to make some of the checkboxes selected out of this,
Suppose I need Orders,Dispatch to be checked using jQuery. I have the corresponding values 1,3 with me.
Check my fiddle: FIDDLE
Aucun commentaire:
Enregistrer un commentaire