2012年3月22日
摘要: var fileType=""; //图片1 var filePath=document.getElementById("FileUpload1").value; if(Trim(filePath)!="") { var seat=filePath.lastIndexOf(".");//注意大小写 fileType= filePath.substring(seat).toLowerCase(); //扩展名jpg if(fileType!=".jpg" && fileType!= 阅读全文
posted @ 2012-03-22 17:28 小景 阅读(750) 评论(0) 推荐(0)