title: Failed to execute 'createObjectURL' on 'URL':
body: <p>Display Below error in Safari.</p>
  
  <blockquote>
    <p>Failed to execute 'createObjectURL' on 'URL': No function was found that matched the signature provided.</p>
  </blockquote>
  
  <p>My Code is:</p>
  
  <pre><code>function createObjectURL(object) {
      return (window.URL) ? window.URL.createObjectURL(object) : window.webkitURL.createObjectURL(object);
  }
  </code></pre>
  
  <p>This is my Code for image: </p>
  
  <pre><code>function myUploadOnChangeFunction() { 
      if (this.files.length) { 
         for (var i in this.files) { 
             if (this.files.hasOwnProperty(i)) { 
                var src = createObjectURL(this.files[i]); 
                var image = new Image(); 
                image.src = src; 
                imagSRC = src; 
                $('#img').attr('src', src); 
              }
         }           
     } 
  } 
  </code></pre>