That works fine for me; see: http://beebo.org/scratch/test.html
which Ajax.Requests: http://beebo.org/scratch/test.php --M. On Apr 14, 9:53 pm, broberts <[EMAIL PROTECTED]> wrote: > { > "response": { > "status": "ok", > "purpose": "user", > "rtncod": "1234", > "body": "It worked" > } > > } > > On Apr 14, 3:13 pm, Michael Stillwell <[EMAIL PROTECTED]> > wrote: > > > On Apr 14, 6:35 pm, broberts <[EMAIL PROTECTED]> wrote: > > > > In Firefox 2.x and IE6 (the browsers I've tested in thus far), the > > > responseJSON property of the Ajax.Response object is null when I set > > > the response content-type to "application/json". > > > That should work. What's the exact JSON that's being returned from > > the server? If it's a string it needs to be quoted: > > > "Hello, World!" > > > --M. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
