Page 3 of 3

Synchronous XMLHttpRequest deprecated error

Posted: Wed Aug 19, 2015 6:30 pm
by Priyanka Verma

I am facing the same issue in html code when used in visualforce page but when used as standalone html page its working fineI am using browsers Google Chrome as well as Mozilla,Thanks in advance.My code:

Display

input[type="file"] {
display: none;

";
txt += "size: " + file.size + " bytes
";

Code: Select all

                             document.getElementById("demo").innerHTML = txt; 
                 } 

              else   
              if (x.value == "")  
              { 
                txt += "Select one or more files."; 

                             document.getElementById("demo").innerHTML = txt; 
              } 

             else  
       { 
         txt += "The files property is not supported by your browser!"; 
         txt  += "

The path of the selected file: " + x.value; // If the browser does not support the files property, it will return the path of the selected file instead.

Code: Select all

                       document.getElementById("demo").innerHTML = txt;}}} 
 } 

}}

Validate


Synchronous XMLHttpRequest deprecated error

Posted: Fri Aug 21, 2015 6:33 pm
by Serhii Kulibaba

Could you clarify what exactly doesn't work?