$.ajax({
url:'http://localhost:57440/Uploads/pic/',
type:'HEAD',
error: function()
{
//file not exists
},
success: function()
{
//file exists
}
});
- Mar 01 Wed 2017 23:11
-
【JQuery】File upload前是否檔案已存在的判斷
請先 登入 以發表留言。