I used this:
$('input[type=file]').val()
to get the full file path selected, but it returned the fakepath, as in "C:\fakepath\filename.jpg". The "fakepath" part was actually there - not sure if it's supposed to be, but this is my first time working on webapp.
How can I just get the full file path (c:\Phone\DCIM\Camera\filename.jpg)?
As I want to call out the file when user click on the link.