Most likely, you will either need to properly encode your entities for the request (escape() function) or use a Ajax framework that properly encoded the entities for the request.
As an aside, please put your "human" text into <p>...</p> tags and only your code into <code>...</code> tags. That way, it is far better readable for everybody.
In reply to Re^3: CGI::Vars weirdness
by Corion
in thread CGI::Vars weirdness
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |