JQuery send post request after submit form?

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

    dear renishkhunt please try this code. this is help fully for me.

        $("#pitch_image_path_form").ajaxSubmit({ success: function(){ 
                $.post("submit_investorform.php",{'flage':'getallimagesfromselectedid','form':'pitch_image_path_form'},function(result){
                        $("#pitch_image_path_showalldatafromid").html(result);
                    });
         } });
    

    please check this link this is tutorial.

    http://malsup.com/jquery/form/
    

提交回复
热议问题