Your jQuery code has an error, rectify it first.
function submitForm(){
$.ajax({
type: "POST",
url: "individual_orders.php", //You have missed quates here....
cache:false,
data: $('form#createGuestForm').serialize(),
success: function(response){
$("#myAjax_one").html(response)
$("#indivi_modal1").modal('show')
$("#createGuestForm")[0].reset();
},
error: function(){
alert("Error");
}
});
}
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…