js判断文件是否存在判断客户端文件时,可以用var fso,s=filespec filespec="C:pathmyfile.txt"fso=new ActiveXObject("Scripting.FileSystem2023-02-21JavaScript180