Re: how can i return newly updated file name to CuteWebUI_AjaxUploader_OnTaskComplete(task)?

  •  02-15-2012, 9:14 AM

    Re: how can i return newly updated file name to CuteWebUI_AjaxUploader_OnTaskComplete(task)?

    Hi,
     
    You can't send object to client directly.
     
    If you want to send more informations , you can join them like this
     
    $msg="$data1|$data2|$name1|$name2"
     
    and split each parts when you get task.ServerData like this:
     
    var parts=task.ServerData.split('|');
    var data1=parts[0];
    var data2=parts[1];
    var name1=parts[2];
    var name2=parts[3];
     
    Regards,
    Terry
     
View Complete Thread