JQuery send post request after submit form?

后端 未结 6 2107
无人及你
无人及你 2021-01-26 09:58

Hello Friends this is my code to form submit and then send post link but form submit success then after not send post link.

document.getElementById(\"pitch_image         


        
6条回答
  •  攒了一身酷
    2021-01-26 10:27

    There is no submit() event in DOM, you are mixing DOM and jQuery

    change

    document.getElementById("pitch_image_path_form").submit
    

    to

    $("#pitch_image_path_form").submit
    

提交回复
热议问题