hello everyone, i have a little issue with IE6+ unless 11, i have this code that works lovely on firefox, chrome and safari but doesn't work on IE. The code get a image file and render the image in the browser, i'm not sure what is the problem or what is
the function that IE doesn't support, can anybody tell me what is the issue and how i can fix it?, this is my code
<!DOCTYPE html>
<html>
<head>
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script>
$(document).ready(function() {
function readURL(input) {
if (input.files && input.files[0]) {
var reader = new FileReader();
reader.onload = function (e) {
$('#blah').attr('src', e.target.result);
var nameFile = $('#imgInp').val();
$('#nameImage').val(nameFile);
}
reader.readAsDataURL(input.files[0]);
...
Go to the complete details ...