Ajax with CSRF causing a Double Post to controller |
HI,
I've run into similar issues myself in the past and the solution for me was to use event.stopImmediatePropagation() function Here is the link to this function: https://developer.mozilla.org/en-US/docs...ropagation And here is an example implementation from one of my projects PHP Code: $('#submitbtn').on('click', function (el) { |
Messages In This Thread |
Ajax with CSRF causing a Double Post to controller - by Chroma - 10-01-2018, 05:51 AM
RE: Ajax with CSRF causing a Double Post to controller - by dave friend - 10-01-2018, 08:55 AM
RE: Ajax with CSRF causing a Double Post to controller - by Chroma - 10-01-2018, 12:53 PM
RE: Ajax with CSRF causing a Double Post to controller - by jreklund - 10-01-2018, 10:52 AM
RE: Ajax with CSRF causing a Double Post to controller - by Chroma - 10-01-2018, 12:56 PM
RE: Ajax with CSRF causing a Double Post to controller - by qury - 10-03-2018, 02:37 AM
|