The situation is this. I want to send a JS object as a JSON to a php page with a link to it. This new page is generated just from the transferred data.
I will give an example. There is a JS object
{ {id: 1; name: 'Вася'}, {id: 2; name: 'Маша'} } I send it to the handler, I build a table of these objects and I want to go to the page with this table.
I can send an ajax request object to this page, process it, but how can I make the transition to this page with already processed data?
Tried the submit button to wrap the form. The effect is necessary, the data is sent, the transition is carried out, but as in the previous case there are no data on the page
location.href=URL. Rejoice - Alexey Shimanskyonreadyyour request, and if the result is correct (you need it) go to the page -location.href = 'someUrl'. - Vasily Barbashev