Re: Redirect When Upload Complete

  •  04-14-2011, 8:23 AM

    Re: Redirect When Upload Complete

    Dear msandwisch,
     
    task.FileName is the file name of uploaded file:
     
     function CuteWebUI_AjaxUploader_OnTaskComplete(task)
     {
      var div=document.createElement("DIV");
      var link=document.createElement("A");
      link.setAttribute("href","savefiles/"+task.FileName);
      link.setAttribute("target","_blank");
      link.innerHTML="You have uploaded file: savefiles/"+task.FileName;
      div.appendChild(link);
      document.body.appendChild(div);
     }
     
    Thank you for asking
View Complete Thread