I set up an AJAX call within a function. After the AJAX processing, that is, within the JSON response, I want to call another function with the original arguments from the parent function. How can I achieve this?
I would like to put 'eventId' which is the argument of CheckEventFInished on setOnGoing