We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 067b6a9 + ffc25ae commit a63343dCopy full SHA for a63343d
assets/genericDropdown.js
@@ -1,3 +1,7 @@
1
-$(el).find('select[name ="genericDropdown"]').change(function (event) {
2
- $(this).closest('form').netteAjax(event);
3
-});
+(function ($) {
+ $.fn.genericDropdown = function (options) {
+ $(this).on('change', function() {
4
+ $(this).closest('form').netteAjax(event);
5
+ });
6
+ }
7
+})(jQuery);
0 commit comments