I am trying to extract the entire path to the file that the user loads in the browser, and this needs to be done using javascript or jquery.
If I give ($("#userfile").val());, I can extract only the file name, not the whole path.
Can someone help me with this?
kartikkowligi
source
share