Html file upload preview by Javascript

Posted by openidsujoy on Stack Overflow See other posts from Stack Overflow or by openidsujoy
Published on 2009-08-11T11:21:40Z Indexed on 2010/05/30 1:32 UTC
Read the original article Hit count: 219

Filed under:
|
|
|

I want to show a PREVIEW kind of thing for an post , so took details by JS

but problem comes when it comes to <input type="file" , it's not giving full path to the file

Ex: if I do

$("#image").val();

it only give "Sunset.jpg" not C:\Documents and Settings\All Users....\Sunset.jpg

any idea how to get that detail value?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery