Daniel Elmore wrote:
When you assign a function to an Ajax event:

{ ... onComplete: showInfo }

I see that the Ajax object is passed into the showInfo function, but how
would I pass in additional variables I'll need, or can I custom define what
I'll need in the Ajax options hash and access it that way?

The options hash could be used to piggy-back your own options although the closure method described by Matt seems like a less fragile method.

Eric

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to