function getPath(obj) {
if (obj) {
if (window.navigator.userAgent.indexOf("MSIE") >= 1) {
obj.select();
return document.selection.createRange().text;
} else if (window.navigator.userAgent.indexOf("Firefox") >= 1) {
if (obj.files) {
return obj.files.item(0).getAsDataURL();
}
return obj.value;
}
return obj.value;
}
}
js传真实地址 C:fakepath
获取网页元素路径方法
最新推荐文章于 2024-07-16 04:50:42 发布
1244

被折叠的 条评论
为什么被折叠?



