-
Notifications
You must be signed in to change notification settings - Fork 165
After Latest Update JS Function Not Working #38
Comments
The events were namespaced in he last update. So, if you were triggering "update" before, you'd want to trigger "update.fs" now. Give that a shot and let me know. |
I am calling the function on change similar to the below js. $('select').on("change", function() {
if (this.val() == "NEW") {
$('#newAcct').slideDown("fast");
}
}); |
Did you try changing to |
I will try it in the morning. I just feel that if you want this amazing tool to replace all select boxes on a site you shouldn’t have to change how they typically function. |
Hello @hudsonperalta, It's not that we're changing how something would typically function just because, it's that we don't want our plugin to conflict with any other plugins that you might include in a site as well. By namespacing events we can ensure that when you want to fire something like Here are a few good reads on the subject: • http://css-tricks.com/namespaced-events-jquery/ Hope that helps! |
First of all I want to make clear that I my intentions are not to bash your hard work and your amazing tool. I think you did an amazing job and I am a big fan of FancySelect and it's developers. But as a big fan I feel it's my duty to offer suggestions. I understand the need for namespacing events in most cases; especially on a Again, thanks for your hard work! |
No worries @hudsonperalta! Thank you for the kind words :) |
Hey @hudsonperalta. After thinking about this a bit more, we might have a future solution. We're a bit busy to make OSS improvements at the moment, but I'm going to leave this issue open while we think about it and such. |
Any updates on this? We are interested in using FancySelect on a big mortgage site but we really want it to use it to replace all select boxes on the site |
I have a drop down option that toggles a JS function (show/hide). Before your latest update it was working fine but as soon as I updated the latest fancySelect.coffee file it no longer toggles that show/hide JS
Please help!
The text was updated successfully, but these errors were encountered: