HideSeek icon indicating copy to clipboard operation
HideSeek copied to clipboard

is this possible search in dynamically populated list?

Open exorab-technology opened this issue 9 years ago • 2 comments

I have a file where i populate list with jquery and there is already a input tag and i initialize hideseek on it but its not work. Is there any method like refresh or other which work on dynamically list.

exorab-technology avatar Jul 25 '16 14:07 exorab-technology

I managed to get it to work by using JQuery and off().

...after list has been dynamically regenerated

$('#search').off().hideseek()

Rebinds hideseek() after removing all events from the element, not possibly the best solution but it seems to work for me.

gorillapower avatar Aug 30 '16 09:08 gorillapower

Edit: I fixed the issue by putting the $("#search").hideseek(); inline on the loaded page. Maybe not best practice but worked for me.

_I have the same question, and using .off() didn't work for me.

I am using ajax to load a php page that gets info from a sql table.

Any other suggestions?_

p.s. this plugin is absolutely amazing.

wha58941 avatar Jun 12 '19 18:06 wha58941