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!

Do Thuy
  • 43
  • 1
  • 6

1 Answers1

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();
Felix Fong
  • 969
  • 1
  • 8
  • 21