There is a trailing comma in your object that IE doesn't like, considering a syntax error. Remember when evaling something that the expression you're evaluating has to have perfect syntax as well.
On Sep 28, 12:39 pm, uncleroxk <[EMAIL PROTECTED]> wrote: > ok my JSON: > > {"messages": {"message":[ {"id": "75", > > "user": "name", > > "text": "message", > > "time": "Sun, 28 Sep, 08:19 > PM" > > },]}} > > ---------------------------------------------------------------------- > i have tried this, and there are data coming in..., but the alert show > up as "undefined" in firefox, and no popup in ie 7 > > var myAjaxget = new Ajax.Request('json.php', > { > method: 'get', > parameters: pars, > onComplete: function(request) > { > alert(request.responseJSON.messages.message.user);} > > }); > window.setTimeout("getmessage()", 2000); > > } --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---