Hello,
I''m getting an exception when making an ajax request. The exception
is
ReferenceError: transport is not defined
Would anyone know what this error refers to? The funny thing is some
ajax request work, and one doesn''t.
This is the call that doesn''t work:
var a = new Ajax.Request(window.baseurl + ''/data/
database_json.php'',
{
method:''put'',
parameters: "action=aircraft_save&data=" +
Object.toJSON(data),
onSuccess: database.onsaveSuccess,
onException: function (req, ex) { alert(req);
alert(ex); }
}
};
I''m currently using prototype 1.6.0.2
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---