Quick tip: you can pass an object to parameters, Prototype will serialize it for you.
var ajaxinsert = new Ajax.Request('insertNote.aspx', { method: 'get', parameters: { text: note.text, width: note.rect.width, height: note.rect.height, left: note.rect.left, top: note.rect.top, id: id, status: note.status }, onSuccess: function(transport) { note.status = 'saved'; }, onFailure: function(transport) { note.status = 'failed'; } }); --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---