lundi 22 décembre 2014

Why are none of my jQuery iCheck checkbox values being posted?

I purchased a theme that came with iCheck, a plugin for jQuery. None of the values from my checkboxes are being posted when JS is enabled. When I disable JS, the values post no problem. I would like to continue using the iCheck plugin because it looks so much nicer than the default checkboxes. Has anyone ever heard of the issue I am having?


My form:



<div class="widget-content">
<div class="data-table-toolbar">
<div class="row">f
<div class="col-md-4">
<form action="http://localhost/zeus/members/search" role="form" method="post" accept-charset="utf-8">
<input type="text" name="criteria" class="form-control" placeholder="Search by member ID, display name, or email address." />
</form>
</div>
<div class="col-md-8">
<div class="toolbar-btn-action">
<form action="http://localhost/zeus/members/delete" method="post" accept-charset="utf-8">
<button type="submit" class="btn btn-danger" rel="confirm"><i class="fa fa-trash"></i> Delete Selected</button>
</div>
</div>
</div>
</div>
<div class="table-responsive">
<table class="table table-striped" data-sortable>
<thead>
<tr>
<th></th>
<th>Display Name</th>
<th>Email</th>
<th>Join Date</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<input type="checkbox" name="delete_members[]" value="1">
</td>
<td><a href="http://localhost/zeus/members/modify/1">John Smith</a>
</td>
<td>johnsmith@yahoo.com</td>
<td>Jun 6th, 2013</td>
<td>
<div class="btn-group btn-group-xs"> <a href="http://localhost/zeus/members/modify/1" data-toggle="tooltip" title="Modify HigH VolTagE" class="btn btn-info"><i class="fa fa-pencil-square"></i></a>
<a href="http://localhost/zeus/members/delete/1" data-toggle="tooltip" title="Delete HigH VolTagE" class="btn btn-danger"><i class="fa fa-eraser"></i></a>
</div>
</td>
</tr>
</tbody>
</table>
</form>
</div>


jQuery iCheck





Aucun commentaire:

Enregistrer un commentaire