<script src="js/jquery-3.3.1.min.js"></script>
<script src="js/ajaxFileUpload.js"></script>
<form id="fo" enctype="multipart/form-data">
<input name="files" type="file" id="files" multiple="multiple">
<input type="button" value="........" "ff()">
</form>
function ff() {
$.ajaxFileUpload({
url: "/t8",
fileElementId:"files",
Type: "post",
dataType: "json",
success:function (data,status) {
console.log(data+"..........."+status);
},
error:function (data,status,e) {
console.log(data+"..........."+status+"........"+e);
}
});
}