riklomas / quicksearch

A jQuery plugin for searching through tables, lists, etc quickly
http://www.lomalogue.com/jquery/quicksearch/
680 stars 261 forks source link

How to call quickSerach on click of serach button #12

Open jquerybabe opened 13 years ago

jquerybabe commented 13 years ago

Problem::

Thanks for help in adv...

we have a table on which quicksearch is implemented , search function should be initialized when the user clicks on search link. is there any way to call quicksearch from javascript or on a onlick event ?

and also search should be implemented on multiple tables..is there any way to pass the table id's explicitly...

Code here::

function startSearch(){ alert("inside StartSearch method"); var phrase=document.getElementById('searchText').value; alert("phrase"+phrase);

$('input#searchText').quicksearch('table#firsttable tbody tr');
alert("out of start search");

}


```

Document Details

Search
                    </tr>