Jump to content

[SOLVED] Passing &'s and " 's through AJAX


Recommended Posts

Hey there so i'm trying to pass a body of text through ajax to my php script.  the issue is that if they put in an &  or sometimes quotes, the text gets messed up.  the quotes are just an html thing i guess. but the & cause the AJAX line passing the variable to the php to think that everything after is now a new variable.  is there a way to pass text, and have it isolated so that it doesn't affect the javascript?  thanks!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.