submit a form in a new tab

后端 未结 8 2044
我在风中等你
我在风中等你 2020-12-04 16:03

I\'d like (just to test some functions, after I\'ll avoid this behaviour) to load the page called by submit on a new tab : is it possible?

8条回答
  •  伪装坚强ぢ
    2020-12-04 16:43

    Since you've got this tagged jQuery, I'll assume you want something to stick in your success function?

    success: function(data){
        window.open('http://www.mysite.com/', '_blank');
    }
    

提交回复
热议问题