// Original code from: http://ejohn.org/blog/jquery-livesearch/
// w/ slight modifications to allow full jquery expressions in the list

// USAGE:

// Add in the plugin with the following files:

//  <script type="text/javascript" src="jquery.liveupdate/quicksilver.js"></script>                            
//  <script type="text/javascript" src="jquery.liveupdate/jquery.liveupdate.js"></script>  

// $('#your-input').liveUpdate('#list-id')
// If you have html or anchors in your list, remember it only strips out the innerHTML of each jquery elem
// $('#your-input').liveUpdate('ul#list-id a')
// You don't have to restrict this to just lists, you can also filter table rows and such
// $('#your-input').liveUpdate('#tbl tr td')

jQuery.fn.liveUpdate = function(list){
  list = jQuery(list);
  if ( list.length ) {
      cache = list.map(function(){
        return this.innerHTML.toLowerCase();
      });
      
    this
      .keyup(filter).keyup()
      .parents('form').submit(function(){
        return false;
      });
  }
    
  return this;
    
  function filter(){
    var term = jQuery.trim( jQuery(this).val().toLowerCase() ), scores = [];
    
    if ( !term ) {
      list.show();
    } else {
      list.hide();

      cache.each(function(i){
        var score = this.score(term);
        if (score > 0) { scores.push([score, i]); }
      });

      jQuery.each(scores.sort(function(a, b){return b[0] - a[0];}), function(){
        jQuery(list[ this[1] ]).show();
      });
    }
  }
};
@@ -276,36 +276,8 @@
 ipt%3E
-                            
 %0A// 
@@ -362,18 +362,16 @@
 /script%3E
-  
 %0A%0A// $('
@@ -759,16 +759,29 @@
 (list);%0A
+  var cache;%0A
   if ( l
@@ -791,26 +791,24 @@
 .length ) %7B%0A
-  
     cache = 
@@ -820,32 +820,32 @@
 map(function()%7B%0A
+
         return t
@@ -887,15 +887,9 @@
 %7D);%0A
-      
 %0A
+
     
@@ -1000,21 +1000,17 @@
 %7D);%0A  %7D%0A
-    
 %0A
+
   return
@@ -1016,21 +1016,17 @@
 n this;%0A
-    
 %0A
+
   functi
@@ -1119,13 +1119,9 @@
 %5B%5D;%0A
-    
 %0A
+
     
@@ -1462,6 +1462,7 @@
   %7D%0A
-
 %7D;
+%0A

resolve autolive plugin [deliver #70667992]