-
-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting error on parsing JSON from php file #6
Comments
Remove |
Hi. Thanks for reply. I cleared off the error. I php file its key and phrase and js file its phrase and key. Why this jnverted combination? Alaksandar From:"Roland Eigelsreiter" notifications@github.com Remote htmlentities and value.replace and it will work. Your pasted console.log output also is not correct, it doesn't show the htmlentites encoded string. — |
Em... Don't know, never thought about that :) |
I am getting JSON error while i pass data from php file.
HTML
PHP File
JS File
//{"ct":"9i4gxztr7W7W0sPFKo1SKA==","iv":"5fba99d002577c64ce4421a979d49f40","s":"fe836ae24c8ca962"}
//{ ct: "nPR3gyDA5Q6Qra1Py9GtAA==", iv: "7e10905af0f4d0ba3fb2cfeb5d77ae8e", s: "ee20cfb01b5b25b6" }
//SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
Note: I tested your example and it populating data in input box.
The text was updated successfully, but these errors were encountered: