event trigger on checking a box js code example Example: trigger click on checkbox jquery $('#foo').trigger('click');