javascript获取上传文件的扩展名
1
function CheckAll(){
2
var filePath=$("fileVideo").value;
3
if(filePath.substr(filePath.indexOf('.')+1).toLowerCase()!="flv") return false;
4
else return true;
5
}
function CheckAll(){2
var filePath=$("fileVideo").value; 3
if(filePath.substr(filePath.indexOf('.')+1).toLowerCase()!="flv") return false;4
else return true;5
}


浙公网安备 33010602011771号