jquery plugin onCancel event

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

is it possible for a user to cancel an upload part way through? (without navigating from the page). Since there is an event onCancel() in the jquery plugin but not figured out how to fire it or what would fire it.

Hi,

yes this should be possible by using

$('form').transloadit('cancel');

Please let me know if this works for you!