nelsonm - 11:18 pm on Dec 16, 2013 (gmt 0)
For some reason, I'm getting a chuck of html preceding the json string being returned after an ajax call to a php script.
I verified the encoded associative array in the php script is correct. But when it's received by the $.ajax() method, i get a "JSON.parse: unexpected character" error message thrown from the ajaxConvert function in the jQuery-2.0.3.js library script.
The response tab for the php script POST line in Firebug's Console tab shows the html preceding the json string.
I have no clue as to how the html is getting included in the json response string.
I'm running WAMP server on a windows 7 pc acting as a development server and work off a windows 7 workstation in my home office.
Does anyone have a clue as to why this is happening?