Same browser (Safari.latest) on the same computer, the Prototype method gives 
me a security failure (Origin [my host] is not allowed by 
Access-Control-Allow-Origin.) while the long-hand XHR (inside a Prototype 
observer) just works without any comment:

    var elm = this;
    new Ajax.Request('', {
      method: 'get',
      parameters: {zip: $F(elm)},
      onComplete: function(transport){
        var data = responseText.evalJSON();

    var client = new XMLHttpRequest();"GET", ""; + $F(this), true);
    client.onreadystatechange = function() {
      if(client.readyState == 4) {
        var data = client.responseText.evalJSON();

I don't trust this to work in the range of browsers supported by Prototype, 
naturally, so I'd really like to know what I could do to get it to work in 



You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to