I want to submit my form after the user clicked / touched the checkbox:
HTML
<input type="checkbox" name="chkSales" id="chkSales" class="custom" data-inline="true" data-mini="true"/><label for="chkSales">Sales</label> <input type="checkbox" name="chkArrival" id="chkArrival" class="custom" data-inline="true" data-mini="true"/><label for="chkArrival">New Arrival</label>
Js:
$("input[type='checkbox']").change(function() { alert(e); print(e); });β
From what I read here, it should really work, but id doenst! where is my problem
(this should be a change, as mobile devices do not click, they use touch ... http://jsfiddle.net/usTHG/2/
source share