0

I’ve been trying to figure this out for days but i can’t get it to work I have this piece of code:

form_data. append ("amount", amoun form_data. append ("name" , name) sajaxli ur1: "create_ fuel receipt", 1/ Upl method: 'post', datatype: 'script', cache: false, contentType: false, processData: false, data: form_data, // Setting the dai success: function (data) { ('#success-msg').html (data) ;

the #success-msg is supposed to echo out the response success message from the add_new_account php file, everything works ate it should, the data gets inserted in the database and the image gets uploaded but i get nothing on the success-msg Your help will be greatly appreciated

the #success-msg is supposed to echo out the response success message from the add_new_account php file, everything works ate it should, the data gets inserted in the database and the image gets uploaded but i get nothing on the success-msg Your help will be greatly appreciated

New contributor
Ricardo Lopez is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

    0

    Start asking to get answers

    Find the answer to your question by asking.

    Ask question

    Explore related questions

    See similar questions with these tags.