title: Click event doesn't fire after ajax event
body: <p>I have a checkbox styled using iCheck. This parts works fine. My problem is that i want to save the checkbox state in my database on every change. But my ajax request does only fire the first time.</p>
  
  <p>I have a setup like this: </p>
  
  <p><strong>HTML:</strong></p>
  
  <pre><code>&lt;ul class='tasks'&gt;
     &lt;li&gt;&lt;input type=checkbox rel='module' data='1' name=done[]  class='taskStatus'&gt;Text&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  
  <p><strong>jQuery</strong></p>
  
  <pre><code>$("input[type=checkbox]").on("ifClicked", function(){
      alert("init");
  
      var stateObj = {
          id: $(this).attr("data"),
          mode: $(this).attr("rel"),
          state: null
      };
  
      if($(this).prop("checked") === false){
          stateObj.state = 1;
      } else {
          stateObj.state = 0;
      }
  
      updateState(stateObj);
  });
  
  
  function updateState(stateObj){
      alert("updating");
  
      $.ajax({
          url: "moduleAjax.php?module=" + stateObj.mode + "&amp;page=eventState",
          type: "POST",
          data: "obj=" + JSON.stringify(stateObj), 
          success: function(data){
              alert(data);
          },
          error: function(a, b, c){
              alert("error");
          }
      });
  }
  </code></pre>
  
  <p>I've tried to comment out the ajax request. Doing so the alert boxes is firing as they should. </p>
  
  <p>I have a workaround adding window.location.reload(); after alert(data). But in my opinion this shouldn't be necessary. I've also tried sending the request in async: false; mode with no success. I'm out of ideas.</p>
  
  <p><strong>Question</strong></p>
  
  <p>Why isn't the ifClicked event fired on every click, only the first, when the ajax request is sent?</p>
  
  <p><strong>Additional info</strong></p>
  
  <p>I get no errors in the console when executing the script. Neither any alerts the second run.</p>
  
  <p>I haven't even been able to reproduce the problem in jsfiddle. </p>
  
  <p>Anyone with any clue?</p>
  
  <p><strong>Edit</strong></p>
  
  <p>I just tested with the new iCheck beta source code. then the events get fired as they should, But a few other problems where raised. So this seems to be deriving from a bug i iCheck. (But i could be wrong). </p>