title: Jquery isn't registering change in checkbox
body: <p>I have JQuery code that looks like this:</p>
  <pre><code> &lt;script&gt;
          $('.tr_clone input.part-class').change(function () {
              let Id = $(this).attr('id');
              let partId = $(this).attr('data-partId');
              var $tr = $(this).closest('.tr_clone');
              var $clone = $tr.clone(true);
              $clone.find('td');
              $tr.after($clone);
          });
   &lt;/script&gt;
  </code></pre>
  <p>And here is my rendered view:</p>
  <pre><code> &lt;table class=&quot;table&quot;&gt;
                      &lt;tr&gt;
                         //headers (removed for conciseness)
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          //td's (removed for conciseness)
                      &lt;/tr&gt;
                  &lt;/table&gt;
                      &lt;h4&gt;&lt;b&gt;Parts in Item&lt;/b&gt;&lt;/h4&gt;
                      &lt;table class=&quot;table&quot;&gt;
                          &lt;tr&gt;
                              //headers (removed for conciseness)                    
                          &lt;/tr&gt;
                          &lt;tbody&gt;
  &lt;input data-val=&quot;true&quot; data-val-number=&quot;The field ID must be a number.&quot; data-val-required=&quot;The ID field is required.&quot; id=&quot;Parts_0__ID&quot; name=&quot;Parts[0].ID&quot; type=&quot;hidden&quot; value=&quot;346&quot; /&gt;&lt;input id=&quot;Parts_0__PartID&quot; name=&quot;Parts[0].PartID&quot; type=&quot;hidden&quot; value=&quot;600601&quot; /&gt;&lt;input data-val=&quot;true&quot; data-val-number=&quot;The field ItemID must be a number.&quot; data-val-required=&quot;The ItemID field is required.&quot; id=&quot;Parts_0__ItemID&quot; name=&quot;Parts[0].ItemID&quot; type=&quot;hidden&quot; value=&quot;117&quot; /&gt;                                                    
        &lt;tr class=&quot;tr_clone&quot;&gt;
  
             
                 &lt;td&gt;
                       &lt;a p-id=346 style='color:#FF00FF;' href='#'&gt;600601&lt;/a&gt;
                 &lt;/td&gt;
                 &lt;td&gt;
                       Supply - Packing Carton, 9&amp;quot; x 8&amp;quot; x 8&amp;quot;, MU/AX
                       &lt;input id=&quot;Parts_0__PartName&quot; name=&quot;Parts[0].PartName&quot; type=&quot;hidden&quot; value=&quot;Supply - Packing Carton, 9&amp;quot; x 8&amp;quot; x 8&amp;quot;, MU/AX&quot; /&gt;
                 &lt;/td&gt;
                 &lt;td style=&quot;font-weight:bold&quot;&gt;
                       1
                       &lt;input data-val=&quot;true&quot; data-val-number=&quot;The field QtyInItem must be a number.&quot; data-val-required=&quot;The QtyInItem field is required.&quot; id=&quot;Parts_0__QtyInItem&quot; name=&quot;Parts[0].QtyInItem&quot; type=&quot;hidden&quot; value=&quot;1&quot; /&gt;
  
                  &lt;/td&gt;
                  &lt;td&gt;
                        &lt;input type=&quot;checkbox&quot; id=&quot;all346&quot; class=&quot;part-class&quot; data-partId=&quot;346&quot; checked&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                        &lt;input checked=&quot;checked&quot; data-val=&quot;true&quot; data-val-required=&quot;The SelectedActionType field is required.&quot; id=&quot;Parts_0__SelectedActionType&quot; name=&quot;Parts[0].SelectedActionType&quot; type=&quot;radio&quot; value=&quot;Transfer&quot; /&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                        &lt;input id=&quot;Parts_0__SelectedActionType&quot; name=&quot;Parts[0].SelectedActionType&quot; type=&quot;radio&quot; value=&quot;Harvest&quot; /&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                        &lt;input id=&quot;Parts_0__SelectedActionType&quot; name=&quot;Parts[0].SelectedActionType&quot; type=&quot;radio&quot; value=&quot;Dispose&quot; /&gt;
                  &lt;/td&gt;
         &lt;/tr&gt;
                     
      &lt;/tbody&gt;
  &lt;/table&gt;
  
  </code></pre>
  <p>When I run this code using JFiddle, I am able to get the expected result I want (a duplicated row).</p>
  <p>But when I run it through visual studio, the checkbox never hits my JQuery code.</p>