Ajax-PHP Rating Stars-SyntaxError JSON.parse unexpected character
Posted: 28 Jul 2019, 19:12
The Ajax-PHP Rating Stars Script, I am trying to get it working but I keep getting this error:
line 136 says:
Hope someone can tell me what is going wrong?
Thank you for your help.
Code: Select all
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON dataratings.js:136:30
onreadystatechange http://localhost/test/ratingfiles/ratings.js:136
Code: Select all
let jsonitems = JSON.parse(obajx.responseText);
Thank you for your help.