JS查看本地盘符是否存在
New Document
>
>
>
>
>
哥找到了查看本地磁盘是否存在的方式,暂时只支持ie
list = ["c","d","e","f","w"];
for(i=0;i
{
try{
document.getElementById("div").innerHTML+=window.frames[list[i]].document.title+list[i]+"盘存在";
}catch(qqq){
document.getElementById("div").innerHTML+=list[i]+"盘不存在";
}
}
(责任编辑:admin)
|