Documentation

onUploadSuccess

function

N/A

Triggered for each file that successfully uploads.

Arguments

  • file
    The file object that was successfully uploaded
  • data
    The data that was returned by the server-side script (anything that was echoed by the file)
  • response
    The response returned by the server—true on success or false if no response.  If false is returned, after the successTimeout option expires, a response of true is assumed.

Demo