complete handler for jQuery plugin.

Archived from the Transloadit support forum. Originally posted on November 25, 2010; details may be outdated, see our docs for current behavior. Original thread

I don’t have an immediate need for this, but a “complete” handler, such as that with $.ajax, would be helpful. http://docs.jquery.com/Ajax_Events

Sorry for the late reply on this. Did you see the onSuccess handler in the jQuery plugind ocs?

http://transloadit.com/docs/jquery-plugin

Maybe I’m missing something, do you think this is what you’re looking for?

No, onSuccess is not what I’m looking for.

I’m looking for a callback that is called no matter what – immediately after onCancel, onError, OR onSuccess.

The use case is to do any UI cleanup after the upload is complete.

I use this frequently in jQuery.ajax(). I don’t have an immediate need with transloadit, but could see the need.

2010/11/29 Felix Geisendörfer <
***@tenderapp.com<tender%***@tenderapp.com>
>

Ah, that makes sense. I’m adding it to my todo and will update this ticket when it’s implemented!