具体代码如下: 代码如下: <html> <head> <title>get file input full path</title> [removed] function getFullPath(obj) { if(obj) { //ie if (window.navigator.userAgent.indexOf(“MSIE”)>=1) { obj.select(); return document.selection.createRange().text; } //firefox else if(window.navigator.user