on change event not firing #5

Closed
NoelChew opened this Issue Jan 15, 2015 · 2 comments

Projects

None yet

2 participants

Can you show me how to trigger the onChange event with 'form-control' class?
There seems to be a problem triggering the on change event when dropdown.js is used.

Owner

It should already trigger the change event.
But is bugged... lol

https://github.com/FezVrasta/dropdown.js/blob/master/jquery.dropdown.js#L113

I've written .change() instead of .trigger('change').

If you wanna send a PR is welcome, otherwise I'll do it when I can.

My apologies, I wasn't having the latest dropdownjs. In the previous version, '.change()' didn't exist. Now it is working fine. Thanks!

@NoelChew NoelChew closed this Jan 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment