got a massive table of data
can't be arsed to create some kind of ajax blah blah blah autocomplete search thing
check this out
http://kobikobi.wordpress.com/2008/09/15/using-jquery-to-filter-table-rows/basically just apply the class="filterable" to your table and then dump this in - uses jquery so assumes you are including that in the head etc
function filterBox(){
$return=<<<NOWDOC
<script type="text/javascript">
$(document).ready(function(){
//add index column with all content.
$(".filterable tr:has(td)").each(function(){
var t = $(this).text().toLowerCase(); //all row text
$("<td class='indexColumn'></td>")
.hide().text(t).appendTo(this);
});//each tr
$("#FilterTextBox").keyup(function(){
var s = $(this).val().toLowerCase().split(" ");
//show all rows.
$(".filterable tr:hidden").show();
$.each(s, function(){
$(".filterable tr:visible .indexColumn:not(:contains('"
+ this + "'))").parent().hide();
});//each
});//key up.
});//document.ready
</script>
<h1><b>Jquery Filter Box:</b><input id="FilterTextBox"/></h1>
NOWDOC;
return $return;
}