# complete handler for jQuery plugin.

**URL:** <https://community.transloadit.com/t/complete-handler-for-jquery-plugin/17815>\
**Category:** Transloadit\
**Tags:** tender-archive\
**Created:** [November 25, 2010, 10:21am UTC](https://community.transloadit.com/t/complete-handler-for-jquery-plugin/17815 "2010-11-25T10:21:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dennis](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/dennis/32/1480_2.png) [@dennis](https://community.transloadit.com/u/dennis)\
**Post date:** [November 25, 2010, 10:21am UTC](https://community.transloadit.com/t/complete-handler-for-jquery-plugin/17815/1 "2010-11-25T10:21:00Z")

</div>

> Archived from the Transloadit support forum. Originally posted on November 25, 2010; details may be outdated, see [our docs](https://transloadit.com/docs/) for current behavior. [Original thread](https://web.archive.org/web/20110210002756/http://support.transloadit.com/discussions/suggestions/16-complete-handler-for-jquery-plugin)

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](http://docs.jquery.com/Ajax%5FEvents)

---

<div class="post-metadata">

**Author:** ![Felix\_Geisendorfer](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/felix_geisendorfer/32/1463_2.png) [@Felix\_Geisendorfer](https://community.transloadit.com/u/Felix_Geisendorfer)\
**Post date:** [November 29, 2010, 11:23am UTC](https://community.transloadit.com/t/complete-handler-for-jquery-plugin/17815/2 "2010-11-29T11:23:00Z")

</div>

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

[http://transloadit.com/docs/jquery-plugin](http://transloadit.com/docs/jquery-plugin)

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

---

<div class="post-metadata">

**Author:** ![dennis](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/dennis/32/1480_2.png) [@dennis](https://community.transloadit.com/u/dennis)\
**Post date:** [November 29, 2010, 11:27am UTC](https://community.transloadit.com/t/complete-handler-for-jquery-plugin/17815/3 "2010-11-29T11:27:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Felix\_Geisendorfer](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/felix_geisendorfer/32/1463_2.png) [@Felix\_Geisendorfer](https://community.transloadit.com/u/Felix_Geisendorfer)\
**Post date:** [November 29, 2010, 11:28am UTC](https://community.transloadit.com/t/complete-handler-for-jquery-plugin/17815/4 "2010-11-29T11:28:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/transloadit/original/1X/04ee57da0cb7ac8728a9ac5965c288164f4ce280.svg) [@system](https://community.transloadit.com/u/system)\
**Post date:** [October 7, 2026, 9:04am UTC](https://community.transloadit.com/t/complete-handler-for-jquery-plugin/17815/5 "2026-10-07T09:04:07Z")

</div>


