recipe [RECIPE]: bootstrapSwitch events firing If you by any chance still have jQuery and use things like bootstrapSwitch, you can meet this situation: When switch is setup like this $('id').bootstrapSwitch('state', true)you immediately