View image before upload
===

I need to show upload image before upload using jquery but in chrome path shown fake path like this:

    C:\fakepath\myImage.jpg

and in firefox it's shown only file name:

    myImage.jpg

so how can me preview my image file before uploading

    <input type="file">
    <img src="" class="preview" />