for (var i = 0; i < $('input[name="documentType"').length; i++) {
var file = $('input[name="fileInput"').get(i).files[0];
var docTypeId = $('input[name="documentType"')[i].value;
if (file != undefined && docTypeId != undefined) {
fileTotCnt = fileTotCnt + 1;
}
}
What I have tried
The above is my coder oinly taking the image name. I want the full path with file name with the extension in jquery plz help