$("#target-file").bind("change", function (event) {
var formData = new FormData($('#file-form')[0]);
$.ajax({
type: 'POST',
url: '/file/processingFile',
dataType: 'json',
enctype: 'multipart/form-data',
data: formData,
contentType: false,
processData: false,
cache: false,
'success': function (data) {
}, 'error': function (request) {
}}
);
});
$_SESSION['id'] = $dd;