Hi there,

I'm using PHP to output some JSON through AJAX to my page. It breaks
whenever I use a backslash or quote mark.

I've tried using php's json_encode function which doesn't seem to
help, just breaks it further. I've also tried php's addslashes() to
the output, again, same problem.

Am I approaching this correctly, fundamentally? Is JSON supposed to
contain HTML?


You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to