通过JS获取用户本地图片路径并显示的代码
实现代码如下: get file input full path function getFullPath(obj) { if(obj) { //ie if (window.navigator.userAgent.indexOf("MSIE")>=1) { obj.select();
实现代码如下: get file input full path function getFullPath(obj) { if(obj) { //ie if (window.navigator.userAgent.indexOf("MSIE")>=1) { obj.select();
具体代码如下: 实现代码如下: get file input full path function getFullPath(obj) { if(obj) { //ie if (window.navigator.userAgent.indexOf("MSIE")>=1) { obj.sel