title: jQuery plugin, unbind elements and rerun the plugin
body: <p>I'm making a simple plugin that activates when certain hyperlinks are clicked so for example:</p>
  
  <pre>
  
  // actives the plugin for an anchor with class mylink
  jQuery('a.mylink').c_podsystem();
  
  // the plugin
  (function($){
  
    $.fn.c_podsystem = function(opt) {  
      var opt = $.extend(opt);
  
      <b>return this.each(function() {
  
  
           jQuery(this).click(function(e){
                // do something
           }
  
      });</b>
   };
  })(jQuery);
  </pre>
  
  <p>In some instances I need to rerun the plugin after an ajax success (so anchors that might be returned in the ajax with the class <b>mylink</b> will work with the plugin).  </p>
  
  <p>However, if you just run <b>jQuery('a.mylink').c_podsystem();</b> in the ajax callback, it reruns for items already on the page previously binded, which causes the plugin to run twice.</p>
  
  <p>So to combat this I need to unbind all elements <b>affected</b> by  return this.each()</p>
  
  <p>Then just rerun <b>jQuery('a.mylink').c_podsystem()</b> so it actives all anchors on the page with the class <b>mylink </b>from the fresh dom.</p>
  
  <p>How do I unbind the previously affected elements, so I can just rerun the plugin?</p>