Reply To: On or Off switch (Toggle Switches – IOS7Switch) from javascript function

#10035190
Support
Keymaster

Hello, thanks for your purchase and the kind words!

You can trigger a click in the switch:

$('[data-plugin-ios-switch]').prev('.ios-switch').trigger('change');

We hope this helps!

Please try that and let us know if you need further assistance.

Kind Regards,

Rodrigo.

If you are satisfied with Porto Admin and our support, please leave your comment and rating on ThemeForest downloads page. That helps us a lot: https://themeforest.net/downloads