Re: Ajax uploader getting problem in firefox 3.0.14

  •  09-26-2009, 8:47 AM

    Re: Ajax uploader getting problem in firefox 3.0.14

    Lakshmi,
     
    Please check this sample :
     

     <script type="text/javascript">
     var uploader=document.getElementById('<%=Uploader1.ClientID %>');
     function CheckBrowsingTask()
     {
      var iobj=uploader.internalobject;
      var task=iobj._browsingtask;
      if(task==null)return;
      var file=task.file1;
      if(file==null)return;
      if(file.getAttribute("myinit")=="1")return;
      InitMyFileElement(file);
     }
     function InitMyFileElement(file)
     {
      file.setAttribute("myinit","1");
      file.style.backgroundColor="red";
      file.style.color="blue";//not works..
     }
     setInterval(CheckBrowsingTask,100);
     </script>
     
    This sample refer the internal implementation object,
    So it may stop work in future version (if we change that implementation)
     
    Regards,
    Terry
View Complete Thread