Jul
ajax, entities, quotes and IE
im trying to send strings containing double and single quoted around my site using AJAX post requests and JSON. Is there a neat and tidy/ or even possible way of doing this in IE? I have a messy system working in firefox.
The problem seems to be in the enitity encoding being lost during the post, if i alert my post data pre posting, my ajax string looks like
{"name":"m%27%22ark%27s%20band"} . If i echo it as soon as it reaches my form handling page (pre ajax decode) it looks like {"name":"m’"ark’s band"} and the process of decoding is messed up because of the quotes.
is it something to do with the urlencoding of the posted data?
if anyone knows of a tutorial covering this, a different system i can use, or has overcome a similar issue in the past, please point me in the right direction, i am losing my will to live.
mark m
30,000 Mb And Unlimited Bandwidth Only $3.75/mo.
Powered By: BigInfo.org
Relevant Links

