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'">选择文件没反应,是什么原因,求告知。