EasyUI Forum
December 21, 2025, 06:58:49 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: SwitchButton Reset Problem  (Read 5282 times)
poeziafree
Jr. Member
**
Posts: 69


View Profile Email
« 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?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!