摘要: function checkPhoto(fnUpload){ var filename = fnUpload.value; alert(filename); var mime = filename.toLowerCase().substr(filename.lastIndexOf(".")); if(mime!=".jpg") { alert("请选择jpg格式的照片上传"); fnUpload.... 阅读全文
posted @ 2010-12-08 23:24 心的开始 阅读(691) 评论(0) 推荐(0) 编辑