Form表单清空之后topjui-uploadbox控件再次选择文件无响应

提问 未结 1 3929
悬赏:20飞吻
function uploadFile() {
var isValid = $('#fFile').iForm('validate');
if (isValid) {
cx.loading();
$.post("SaveFileStore", $('#fFile').serializeArray(), function (resultData) {
resultData = JSON.parse(resultData);
if (resultData.BState) {
cx.rbMsg(resultData.Msg);
$("#fFile").iForm("clear");
}
else {
cx.errorMsg(resultData.Msg);
}
cx.closeLoading();
});
}
}

表单保存完成以后执行$("#fFile").iForm("clear");清空表单操作之后,控件<input type="text" id="upUrl" name="cUrl" data-toggle="topjui-uploadbox"
data-options="editable:false,required:true,
buttonText:'文件选择/SELECT FILE',
accept:'file',
uploadUrl:'FileUpLoad?cType=Manifest'">选择文件没反应,是什么原因,求告知。
回帖
回帖须知