| 
					 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18  | 
						function readURL(input) {     if (input.files && input.files[0]) {         var reader = new FileReader();         reader.onload = function (e) {             $('#image').attr('src', e.target.result);         };         reader.readAsDataURL(input.files[0]);     } } $("#imgInput").change(function(){     readURL(this); }); //http://jsfiddle.net/YJG79/16/  |