title: Call custom function after jQuery sortable();
body: <p>I have this little plugin that causes an element to pulsate three times calling a  .blink(). I am trying to make it work on the LI element after it has been dragged and dropped via jQuery .sortable(); but it doesn't seem to work in this context.</p>
  
  <pre><code>$(function() {
  $( "#sortable" ).sortable().blink("update-value", 3, 350);
  $( "#sortable" ).disableSelection();
  });
  </code></pre>
  
  <p>BLINK CODE</p>
  
  <pre><code>$.fn.blink = function (cls, times, delay) {
  var $self = this.removeClass(cls);
  clearTimeout($.fn.blink.handler);
  ! function animate(times) {
      if (times) {
          $self.toggleClass(cls);
          $.fn.blink.handler = setTimeout(function () {
              animate(times - 1);
          }, delay);
      }
  }(times * 2);
  return this;
  };
  </code></pre>