file控件只觸發一次change事件,無法觸發第二次。
給file控件同時綁定change跟propertychange事件
#
注意:只綁定其中一種都不能實現
$(function(){
$("body").on("change propertychange","input[type='file']",function(){
$.ajaxFileUpload( options );
}
})