title: iCheck library: value of selected radio button
body: <p>jsFiddle <a href="http://jsfiddle.net/uYtJ4/" rel="noreferrer">here</a>.</p>
  
  <p>I'm a novice at Javascript and having trouble following the documentation at the <a href="http://damirfoy.com/iCheck/" rel="noreferrer">iCheck</a> page. I've followed the answer to what appears to be a very relevant StackOverflow question <a href="https://stackoverflow.com/questions/986120/how-to-get-the-value-of-a-selected-radio-button-using-its-name-in-jquery?rq=1">here</a> but cannot get an alert to pop up displaying the value I've selected. Can anyone point me in the right direction, please?</p>
  
  <p>HTML</p>
  
  <pre><code>&lt;p&gt;Are you sure you want to have your details removed from our marketing list?&lt;/p&gt;
  &lt;div id="unsubscribe_radio"&gt;
      &lt;ul&gt;
          &lt;li&gt;
              &lt;input type="radio" name="iCheck" value="yes"&gt;
              &lt;label&gt;Yes&lt;/label&gt;
          &lt;/li&gt;
          &lt;li&gt;
              &lt;input type="radio" name="iCheck" value="no"&gt;
              &lt;label&gt;No&lt;/label&gt;
          &lt;/li&gt;
      &lt;/ul&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Javascript</p>
  
  <pre><code>$(document).ready(function () {
    $('input').iCheck({
       radioClass: 'iradio_flat-orange'
    });
    $("input:radio[name=iCheck]").click(function () {
       var value = $(this).val();
       alert("You clicked " + value);
    });
   });
  </code></pre>