JQuery send post request after submit form?

后端 未结 6 2131
无人及你
无人及你 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:14

    .submit() is a jQuery function, so you need to wrap your $("#pitch_image_path_form")[0] in a jQuery wrapper, like so:

    $($("#pitch_image_path_form")[0]).submit(function(){

提交回复
热议问题