views:

27

answers:

2

How could we get the file input full path using jquery ?

+1  A: 

jQuery("input[type=file]").val(); just for the filename not the entire path.

sushil bharwani
+1  A: 

You can't. Only filename can be read, not fullpath. This restriction is because of security.

Tomas Voracek