-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
TypeError: this.selected_item.bind is not a function #2797
Comments
you use jquery older than 3.0 version. |
Actually, I am using the JQuery version 3.1.1 and Chosen 1.6.2 that was
latest at the time of downloading.
I'll replace the methods though, but you should mention this on GitHub if
the version does not support the newest JQuery.
…On Fri, Mar 24, 2017 at 4:53 PM, Ivan ***@***.***> wrote:
you use jquery older 3.0 version.
As of jQuery 3.0, .bind() has been deprecated. It was superseded by the
.on() method.
http://api.jquery.com/bind/
Just replace all bind (to on) and unbind (to off) methods from
chosen.jquery.js
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2797 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIJ3zbtpyHItoSyNN0plBuohYSKImndoks5ro7zWgaJpZM4Mhr4M>
.
|
Also, I checked your latest 1.7.0. release, but it does not a contain any actual JS file to use. |
chosen is currently not compatible with jQuery 3 without using the jQuery Migrate plugin. See #2729. I'm closing this issue as duplicate |
$('#organization_id').chosen();
The text was updated successfully, but these errors were encountered: