You're still treating Request.responseText as if it were JSON, even though you're no longer converting it to JSON. The solution is not to remove the JSON conversion -- it's to find a JSON library that doesn't muck with Object.prototype. (I seem to recall there's an older version of Crockford's library that plays nice -- Mislav, do you know where to find it?)
We're working on the larger issue that makes your initial code not work in the first place. Meanwhile, this list is for discussion of Prototype development. Support questions should go to the rails- spinoffs mailing list [1]. Cheers, Andrew [1] http://groups.google.com/group/rubyonrails-spinoffs On Feb 23, 10:47 pm, "RFLudwick" <[EMAIL PROTECTED]> wrote: > I still can't get it to work, no matter what I do. Now it won't work > in IE: > > new Ajax.Request(URL, > { > parameters: > { > Name: Name, > Email_Address: Email_Address, > Message: Message > }, > onFailure: function(Request) > { > $("Ajax_Processing_1").setStyle({visibility: > "hidden"}); > $("Submit_1").enable(); > > ajax_error(); > }, > onSuccess: function(Request) > { > var Results = Request.responseText; > > if(Results == "") > { > website_error(); > } > else if(Results["Error_Number"] != null) > { > alert(Results["Error_Message"] + " (" > + Results["Error_Number"] + > ")"); > } > else > { > new Insertion.After("contact_me", > Results["Success_Message"]); > $("contact_me").hide(); > } > > if((Results == "") || > (Results["Error_Number"] != "")) > { > > $("Ajax_Processing_1").setStyle({visibility: "hidden"}); > $("Submit_1").enable(); > } > } > }); --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@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-core?hl=en -~----------~----~----~----~------~----~------~--~---