special charachters in json string

Posted by RohiK under jQuery on 4/14/2011 | Points: 10 | Views : 3100 | Status : [Member] | Replies : 1
hi,

If my json string contains special characters like " then the jQuery gives an error.

so how to avoid special characters in json?

Happy Programming!!
Rohi



Responses

Posted by: Walia_jagwinder on: 4/14/2011 [Member] Starter | Points: 25

Up
0
Down
use replace function to remove the spacial characters

One person's data is another person's program.

RohiK, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response