Ver Mensaje Individual
  #3 (permalink)  
Antiguo 05/01/2010, 04:50
Dany_s
 
Fecha de Ingreso: diciembre-2009
Ubicación: Misiones
Mensajes: 867
Antigüedad: 14 años, 4 meses
Puntos: 65
Respuesta: Retornar valor de php a Jquery ( Uploadify )

onAllComplete te devuelve un objeto data que contiene algunos datos de la transacción:

Código HTML:
'onAllComplete': function(event, data) {
         alert("files Uploaded: "+data.filesUploaded+" errors: "+data.errors+" Bytes Loaded: "+data.allBytesLoaded +" speed: "+data.speed);
      	}
en la doc esta:

Cita:
onAllComplete

A function that triggers when all file uploads have completed. There is no default event handler.

Two arguments are sent to the function:
event: The event object.
data: An object containing details about the upload process.

* filesUploaded – The total number of files uploaded
* errors – The total number of errors while uploading
* allBytesLoaded – The total number of bytes uploaded
* speed – The average speed of all uploaded files
fijate que onComplete tiene un objeto que te devuelve info sobre el archivo subido, como el nombre, tamaño, etc