On 8/9/07, Cliff Hirsch <[EMAIL PROTECTED]> wrote: > > As usual, figured it out minutes after my post. Answer for the group: > > From: var output = req.responseText; > To: var output = eval('('+req.responseText+')'); > > Better answer — don'tr try to reinvent the wheel. Yeah but we can't help > ourselves. Xajax looks very cool....
Yes eval(), which always makes me a little queasy, even though I know it's relatively safe. I wonder how many years we'll be waiting for a true json_decode() function to make it into general circulation? -- Chris Snyder http://chxo.com/
_______________________________________________ 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