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.

11 satır
221B

  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. }