0
Good Tade, I have a problem adding the checked attribute to checkbox.
I have knowledge in Jquery and I’ve done it many other times, but I’ve never used Switchery, I don’t know if that’s the problem, but I’ll leave the code down below.
// JQuery
if(data.is_not_found == 1){
$('#cbxNotFoundMessage').attr("checked", "checked");
}
Have you tried that:
$('#cbxNotFoundMessage').attr("checked", true);
– Mateus
Yeah, it’s not working that way either
– Victor Hugo