I’m making requests to my server using jQuery.post() and my server is returning JSON objects (like { \"var\": \"value\", ... }). However, if any of
jQuery.post()
{ \"var\": \"value\", ... }
When You are sending a single quote in a query
empid = " T'via" empid =escape(empid)
When You get the value including a single quote
var xxx = request.QueryString("empid") xxx= unscape(xxx)
If you want to search/ insert the value which includes a single quote in a query xxx=Replace(empid,"'","''")
xxx=Replace(empid,"'","''")