$("#form1").attr("action","目标地址").attr("target","_blank").submit();
//再把地址改回来
$("#form1").attr("action","").attr("target","");
jquery根据不同按钮跳转action
猜你喜欢
转载自my.oschina.net/xlpapapa/blog/1633408
今日推荐
周排行