• Marc Dev Org
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies
Hi,

I am facing a strange issue in IE11. Please see the below code snippet
<apex:page >

<script type="text/javascript">
function load(){ 
 var request;
        if (window.XMLHttpRequest) {
            request = new XMLHttpRequest();
        } 
 
 if(request.upload){
   alert('upload is allowed');
 }
 }
 load();
</script>


<apex:form id="formid">
<apex:actionfunction name="test" action="{!null}" rerender="formid"/> 
</apex:form>

</apex:page>
I dont get alert if I have the below components in my visualforce page.
  • Commandbutton/commandlink/actionfunction with rerender attribute. 
  • Action region.(Not working even if you just use empty action region).
I need this fix for a file upload utility that I have developed. I am using xhr.upload.onprogress to check the progress of uploaded file.
 
xhr.upload.onprogress = function(e) {

}

The utility is working fine with chrome and firefox, but not working in IE11.
I get the below error, when javascript tries to bind the event.

User-added image

Request you to please let me know if any one have faced similar issue and had any work arounds.