Why are escape characters being added to the value of the hidden input
So, I have a file called Save.php.
It takes two things: a file, and the new contents.
You use it by sending a request like
..but of course, encoding the url. :) I left it all unencoded for simplicity and readability.
The file works, but instead of the contents being..
..which of course throws an error when trying to use
JSON.parse when getting the JSON file later through XHR.
To save the contents, I just use..
What can I do to get rid of the backslashes?