I am using a JQXHR to post data to my server which adds it to a database. When I add something to the database, I want to return the ID of the article I just added to my DB. Is there any way to add something to the Responsetext before it gets sent back to the client?
Share
The response text is the output of your php-file. That means you can do something like this in your code:
echo $id;