trigger event when checkbox is checked code example Example: trigger click on checkbox jquery $('#foo').trigger('click');