I'm getting the above error and i'm not sure why.
Here is the code i'm calling. This is in a custom js file that is
attached after the prototype library.
function avtf(u,v) {
//AjaxMethods.addVenueToFavorites(u,v, function(str)
{ alert(str); }); return false;
alert('about to run ajax');
new Ajax.Request('/AddVenueToFavorites', { method: 'get', parameters:
{venueId: v, userId: u}, onComplete: complete });
}
function complete(o) {
alert('Complete');
}
the 1st alert runs fine, but then i get that error. Any ideas? This
AddVenueToFavorites is a servlet.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---