Checkboxes

Home Search

Checkboxes

Bind events directly to the input element. Use jQuery Mobile's virtual events, or bind standard JavaScript events, like change, focus, blur, etc.:

 
$("input[type='checkbox']").bind( "change", function(event, ui) {
  ...
});

The checkbox plugin has the following custom events:

create triggered when a checkbox is created

$("input[type='checkbox']").checkboxradio({
   create: function(event, ui) { ... }
});