preSubmit then submitSuccess events fired repeatedly
preSubmit then submitSuccess events fired repeatedly
Link to test case:
Debugger code (debug.datatables.net):
Error messages shown:
Description of problem: Has anyone had this problem? It's completely random, sometimes the event gets fired once, other times 4 or 5 or more times. The only thing I can think of is I iterate through the data under preSubmit before it gets sent under via this:
$.each(data.data, function (key, values) {
....
});
Just asking if anyone might have seen this and if they know what to look out for there. Thanks.
This question has an accepted answers - jump to answer
Answers
I think it must be something to do with that loop. Could you update this example here, please, hopefully we'll be able to see the issue there,
Colin
Thanks. I have changed my code so it's simplified and all is well.