My Ajax response handler uses this line, which is fairly typical:

var output = req.responseText;

>From php, I¹m echoing back json. Example: {"status":1,"count":0,"data":""}

But instead of var output being an object, it is a string:
³{"status":1,"count":0,"data":""}²

How do I make this an object?

Cliff
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to