title: How to detect event checked radio input in ajax load form
body: <p>i'm using Uikit radio input (<a href="https://altair-html.tzdthemes.com/forms_regular.html" rel="nofollow noreferrer">https://altair-html.tzdthemes.com/forms_regular.html</a>).</p>
  <p>The problem is the radio input is transforming between code and on site display
  After load my form with Ajax, i want to alert value for radio choice after each change.</p>
  <p>Here my code :
  HTML :</p>
  <pre><code>&lt;div class=&quot;uk-width-medium-1-2&quot;&gt;
  &lt;h5&gt;Radio set 1&lt;/h5&gt;
  &lt;div class=&quot;uk-grid&quot; data-uk-grid-margin&gt;
      &lt;span class=&quot;icheck-inline&quot;&gt;
          &lt;input type=&quot;radio&quot; name=&quot;radio_opt&quot; id=&quot;radio_opt_1&quot; value=&quot;Yes&quot; data-md-icheck /&gt;
          &lt;label for=&quot;radio_opt_1&quot; class=&quot;inline-label&quot;&gt;Oui&lt;/label&gt;
      &lt;/span&gt;
      &lt;span class=&quot;icheck-inline&quot;&gt;
          &lt;input type=&quot;radio&quot; name=&quot;radio_opt&quot; id=&quot;radio_opt_2&quot; value=&quot;Non&quot; data-md-icheck /&gt;
          &lt;label for=&quot;radio_opt_2&quot; class=&quot;inline-label&quot;&gt;No&lt;/label&gt;
      &lt;/span&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class=&quot;uk-width-medium-1-2&quot;&gt;
  &lt;h5&gt;Radio set 2&lt;/h5&gt;
  &lt;div class=&quot;uk-grid&quot; data-uk-grid-margin&gt;
      &lt;span class=&quot;icheck-inline&quot;&gt;
          &lt;input type=&quot;radio&quot; name=&quot;radio_opt_second&quot; id=&quot;radio_opt_3&quot; value=&quot;Yes&quot; data-md-icheck /&gt;
          &lt;label for=&quot;radio_opt_3&quot; class=&quot;inline-label&quot;&gt;Oui&lt;/label&gt;
      &lt;/span&gt;
      &lt;span class=&quot;icheck-inline&quot;&gt;
          &lt;input type=&quot;radio&quot; name=&quot;radio_opt_second&quot; id=&quot;radio_opt_4&quot; value=&quot;Non&quot; data-md-icheck /&gt;
          &lt;label for=&quot;radio_opt_4&quot; class=&quot;inline-label&quot;&gt;No&lt;/label&gt;
      &lt;/span&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  <p>Then here my JS (doesnt' work)</p>
  <pre><code>$(document).on('change', 'input:radio', function () {
       alert('test');
  });
  </code></pre>