source: main/waeup.kofa/trunk/layout/static/js/kofa-autoSubmit.js @ 17954

Last change on this file since 17954 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
Line 
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.