$("#form1").attr("action","目标地址").attr("target","_blank").submit();
//再把地址改回来
$("#form1").attr("action","").attr("target","");
$("#form1").attr("action","目标地址").attr("target","_blank").submit();
//再把地址改回来
$("#form1").attr("action","").attr("target","");
转载于:https://my.oschina.net/xlpapapa/blog/1633408