Page 1 of 1

how to know download is complete

Posted: Thu Oct 14, 2010 7:23 pm
by patron
hello,

Is there a way to know (and then to fire a javascript) when a dowload is finished ?
the objective is to close the window when the download is complete.

thank you for response.

Re: how to know download is complete

Posted: Fri Oct 15, 2010 5:35 pm
by support
Try to install JSAPI to get notify with JavaScript callbacks:
http://www.jfileupload.com/products/tools/index.html

Re: how to know download is complete

Posted: Wed Nov 23, 2011 10:22 am
by truongvu
support wrote:Try to install JSAPI to get notify with JavaScript callbacks:
http://www.jfileupload.com/products/tools/index.html
When download is complete which javascript function in JSAPI work
When download is be cancelled which javascript function in JSAPI work

Re: how to know download is complete

Posted: Sun Nov 27, 2011 12:27 pm
by support
Fully completed (all files): JSTransferDone
File completed (single file): JSTransferCompleted
Transfer cancelled: JSTransferCancelled