How can i execute a function after programmatically setting a checkbox to checked? After this completes, I would like to call a function:
$(event.target).parents(".row").first().find(":checkbox").prop("checked", true)
I have tried this but it's not working:
$((event.target).parents(".row").first().find(":checkbox").prop("checked", true), function () {
Edit();
});
Thank you for all of your responses. My issue was that the checkbox was being unchecked in the Edit function