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

Upgrade to support .on() ? #15

Open
cviebrock opened this issue Dec 21, 2011 · 1 comment
Open

Upgrade to support .on() ? #15

cviebrock opened this issue Dec 21, 2011 · 1 comment

Comments

@cviebrock
Copy link

I'm using your plugin to build some autocomplete fields in a form. I'm also using the Appendo plugin to dynamically add rows to my form. However, an autocomplete field, when duplicated, doesn't keep the autocomplete functionality. I'd need to manually re-apply the quickselect() method.

I think this can be fixed using the .live() -- and now .on() -- binders in jQuery. Any thought of an update?

Thanks!

@joshaven
Copy link
Collaborator

Can't you just add a callback on the appendo call to call .quickselect() on the new element? You can also pass params including the auto-selection data to into the quickselect function.

Daniel is no longer alive... but I worked with him a bit including that he developed quickselect for my use as well as his so we went back and forth on this project quite a bit.

I have written a similar script that I generally use myself now that may work better for you if you have issues with quickselect then checkout jselect: https://github.com/joshaven/jselect (If you need a feature added to JSelect then I would be much more likely to work on this project). quickselect was built on other code that I found complicated to manage so I did a re-write from scratch to accomplish the same thing and included testing to keep things from breaking.

I can leave this open but I don't have any plans at this point to add functionality to quickselect.

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

No branches or pull requests

2 participants