change callback function
<pre><code>$('input.plan-select').change(function() {
  // alert('Handler for .change() called.');
  $(".subscription", this).toggleClass('selected');
});
</code></pre>

<p>Fiddle: <a href="http://jsfiddle.net/XPVVp/" rel="nofollow">http://jsfiddle.net/XPVVp/</a></p>

<p>It doesn't toggle the class for some reason, I'm not sure why it isn't working.</p>
