//где dofileim - input type file
//где uploadsimg - img
$("#dofileim").change(function () {
var reader = new FileReader();
reader.onload = function (e) {
$('#uploadsimg').attr('src', e.target.result);
};
reader.readAsDataURL(this.files[0]);
});
$('body').append('<script type="text/javascript" src="script/Forms.js"></script>');