Hello guys, I'm using this plugin http://devthought.com/projects/jquery/textboxlist/ to autocomplete like Facebook Style. I'm just a bit confuse on how to return the Json result that fits the plugin's need.
The json result must be like this:
[[1, 'John', null, ''],[2,'Mary', null, ''],[3,'Mark', null, '']]
The problem is when I return the result to my View:
return Json(myjSon, JsonRequestBehavior.AllowGet);
This is the result:
"[[1, \u0027John\u0027, null, \u0027\u0027],[2, \u0027Maryn\u0027, null, \u0027\u0027],[3, \u0027Mark\u0027, null, \u0027\u0027]]"
The aposthrophe was converted to \u0027 and its ruining my code. What should I do?