Title: set Checked Checkbox not working Post by: BinaryCode on February 19, 2024, 05:20:33 PM that.chkEnterAlarm.checkbox('options').checked=data.enter_alarm===1; that.chkExitAlarm.checkbox('options').checked=data.exit_alarm===1; that.chkSendToWhatsApp.checkbox('options').checked=data.send_alarm_to_whatsapp===1; why above not working event if data.enter_alarm =1, data.exit_alarm=1, but state not checked, how to set checked programmatically?, i don't use check method Title: Re: set Checked Checkbox not working Post by: jarry on February 21, 2024, 12:11:49 AM Please call the 'check' or 'uncheck' methods instead.
Code: that.chkEnterAlarm.checkbox('check'); |