jquery unbind click event on img element
<p>I couldn't bind a click event after an unbind. Can anyone solve this problem? Here is a sample of my code:</p>

<pre><code>if(condition for radio button)
  jQuery('#txtEffectiveBeginDate').
      next('.ui-datepicker-trigger').
      unbind('click').
      css({ 'opacity': .50 }).
      css('cursor', 'text');
else
  jQuery('#txtEffectiveBeginDate').
      next('.ui-datepicker-trigger').
      bind('click').
      css({ 'opacity': 1 }).
      css('cursor', 'pointer');
</code></pre>
