Pardon this question if it's been asked many times.

I'll have a couple of functions that make Ajax calls, and I need to
know how to set things up so a single function can be run on success
of either ajax request. Every example I see is showing onSuccess:
function(transport) etc. and need to know how to pass the response
text to my own function elsewhere in the JavaScript file.

TIA,

youngApprentice


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to