You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking for just sent ajax at the time of "Change", it works, but it sends twice the data ...
If I do : $ ( '# SuivreGeo'). Change (function () { ... $ .ajax ({ method: 'POST', ...
It seems to me that at the moment of "change" it launches two actions giving the current state, then the state changed.
If I put "click" instead of "change" it sends once the information, but in this case the switch status no longer changes :(
How to send directly to Ajax when clicking on the Switch?
Thanks for your help.
Have a good day
The text was updated successfully, but these errors were encountered:
Hello
I'm looking for just sent ajax at the time of "Change", it works, but it sends twice the data ...
If I do :
$ ( '# SuivreGeo'). Change (function () { ... $ .ajax ({ method: 'POST', ...
It seems to me that at the moment of "change" it launches two actions giving the current state, then the state changed.
If I put "click" instead of "change" it sends once the information, but in this case the switch status no longer changes :(
How to send directly to Ajax when clicking on the Switch?
Thanks for your help.
Have a good day
The text was updated successfully, but these errors were encountered: