Last change
on this file since 17310 was
17172,
checked in by Henrik Bettermann, 2 years ago
|
Add Javascript which automatically submits a form on select change (not used in base but in lpng custom package).
|
-
Property svn:executable set to
*
|
File size:
177 bytes
|
Rev | Line | |
---|
[17172] | 1 | $(document).ready(function() { |
---|
| 2 | $('#autosubmitform').on('change', function() { |
---|
| 3 | var $form = $(this).closest('form'); |
---|
| 4 | $form.find('input[type=submit]').click(); |
---|
| 5 | }); |
---|
| 6 | }); |
---|
Note: See
TracBrowser for help on using the repository browser.