EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: poeziafree on February 19, 2022, 08:12:53 AM



Title: SwitchButton Reset Problem
Post by: poeziafree on February 19, 2022, 08:12:53 AM
Hello

I am using the SwitchButton with onchange function that sends ajax request to server.
If server returns error, then I reset the switchbutton. Unfortunately, resetting the switchbutton resends the ajax request from onchange function.

What can I do to prevent reset function from resending the ajax request?