$('#submit').on('click', function() {
$.ajax({
url: "controller/php/add_project.php",
type: "POST",
data: new FormData(document.getElementById("add_project_form")),
contentType: false,
processData:false,
cache: false,
success: function(dataResult){
console.log(dataResult);
var dataResult = JSON.parse(dataResult);
},
error:function(dataResult){
console.log(dataResult);
alert('error / Add Project Again');
}
});
});