Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is this possible search in dynamically populated list? #35

Open
exorab-technology opened this issue Jul 25, 2016 · 2 comments
Open

is this possible search in dynamically populated list? #35

exorab-technology opened this issue Jul 25, 2016 · 2 comments

Comments

@exorab-technology
Copy link

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.

@gorillapower
Copy link

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.

@wha58941
Copy link

wha58941 commented Jun 12, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants