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

Ajax and loading new selects - issue with live event click vs. bind #49

Closed
zurmo opened this issue Mar 28, 2012 · 0 comments
Closed

Ajax and loading new selects - issue with live event click vs. bind #49

zurmo opened this issue Mar 28, 2012 · 0 comments

Comments

@zurmo
Copy link

zurmo commented Mar 28, 2012

Change

$('.dk_toggle').live('click', function (e) {

to:

$('.dk_toggle').bind('click', function (e) {

Because if you are using ajax you can get this bound multiple times and it causes the dropdown not to open up.

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