I'm using AJAX to send a request and response comes back as JSON. Some of our users have been complaining that they are getting error, which points to that the invalid JSON has been received. We checked on the server that the valid JSON is being sent. On debugging further, it was noticed that the following code is being appended to the JSON, making the JSON parsing fail.
<div id="isChromeWebToolbarDiv" style="display:none">
Actual JSON Sent:
{"err_code":"0", "errmsg":""}
JSON being received:
{"err_code":"0", "errmsg":""}<div id="isChromeWebToolbarDiv" style="display:none">
Any idea from where it is getting appended? What is causing it? How to prevent or work around it?
Best regards, Shishir