You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

switchmerchant.js 221B

3 vuotta sitten
1234567891011
  1. $(document).ready(function() {
  2. initSwitchMerchant() ;
  3. }) ;
  4. function initSwitchMerchant() {
  5. let $form = $('form.switch-merchant') ;
  6. $form.find('select').change(function() {
  7. $form.submit() ;
  8. }) ;
  9. }