We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9720490 commit 717e1c6Copy full SHA for 717e1c6
assets/genericDropdown.js
@@ -1,9 +1,7 @@
1
(function ($) {
2
$.fn.genericDropdown = function (options) {
3
- return (function() {
4
- $(el).find('select[name ="genericDropdown"]').change(function (event) {
5
- $(this).closest('form').netteAjax(event);
6
- });
+ $(this).on('change', function() {
+ $(this).closest('form').netteAjax(event);
7
});
8
}
9
})(jQuery);
0 commit comments