1

I have a html page run on client side and 1 input file. How to input file show full path when user select file. (Internet Explorer is ok. But i want on chrome, Firefox). Node js or angular can do? Thank you!

3

1 Answer 1

0

You can using jQuery

location.href will get the full URL,include the file name and the urk query

$fullpath = location.href;
$('.myInput').val();

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.