跳转新页面,并触发新页面事件

$(document).on("click", "#sns .sn_route", function() {
var snStr="";
snStr=$(this).parents("tr").find(".sns_sn").html();
var win=window.open("querysnRoute.htm","_blank", "");
win.onload = function() {
     $(win.document).find("#sn").val(snStr);
     $(win.document).find("#snQuery").click();

}
})

原文地址:https://www.cnblogs.com/smallfa/p/7562317.html