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