I’ve never done this before, but I do know that I’ve read articles about it, and many of them have helped me to get the best results with a great solution.
So you are using ajax to pass data from one page to another. What do you do with that data? You have to manipulate it a few different ways before you can send it to the server. The first and most important thing to remember is that you are not doing anything with the data in the page itself. Instead, you are doing something with the data that you are calling the ajax function from.
Ajax is the backbone of all modern web applications. It is the only way to send data from one page to another. What you are doing, is you are calling an ajax function from your page and passing the data back. You are passing a function as an argument to the function. So what you are doing is making ajax call.