Priyanka Verma
Posts: 0
Joined: Wed Aug 19, 2015 6:30 pm

Synchronous XMLHttpRequest deprecated error

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Synchronous XMLHttpRequest deprecated error

Could you clarify what exactly doesn't work?

Return to “Issues”