riklomas / quicksearch

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

Rebind quicksearch after an asynchronous postback #20

Open ctasci opened 13 years ago

ctasci commented 13 years ago

hi,

i am using quick search in a asp.net web application with a table and a textbox, like in your examples, which works like a charm after a pageLoad. i have asynchrouns postbacks (using updatepanl). i am able to reload the text which was written in the textbox after the async. postback, but i can't force quicksearch to rebind the search after the postback.

my code looks like: var foo = $i(tb).quicksearch('table#{0} tbody tr' , tablename);

which run without problems in the first load / page load. I tried too something like: foo("info1").keyup();

but did not work. What can i do ?

ps: i run my script after the postback with: Sys.WebForms.PageRequestManager.getInstance().add_endRequest(Methodename);

Thanks in advance

beutepa commented 13 years ago

Hi,

I also running into this same problem. Would using .live() instead of .bind() resolve this?