Thanks for that tip Jon. I hadn't noticed that one. So ajaxOptions is standard in the framework?

btw, Nicolas's solution also worked.

Jamie
On Jan 30, 2006, at 2:57 PM, Jon Tirsen wrote:

I think you should be able to use the ajaxOptions option just like you
would any other option for an Ajax.Request. IIRC ajaxOptions:
{onSuccess: function() {...blah...}} should do the trick.

HTH

Cheers,
Jon

On 1/26/06, Jamie Orchard-Hays <[EMAIL PROTECTED]> wrote:
I'm looking for onSuccess: in Ajax.InPlaceEditor, but it doesn't
appear to exist. onComplete isn't what I need because I only want my
callback on success. Is there a way to do this?

Thanks,

Jamie
_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

_______________________________________________
Rails-spinoffs mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to