jquery模拟单击事件

jQuery(function () {
jQuery("#IsMapSearch").removeAttr("checked");
jQuery("#IsMapSearchClick").css({ "cursor": "pointer" });
jQuery("#IsMapSearchClick").bind("click", function () {
jQuery("#IsMapSearch").attr("checked", "true");
jQuery("#form_esf").attr("target", "_blank");
jQuery("#form_esf").submit();
jQuery("#form_esf").attr("target", "_self");
jQuery("#IsMapSearch").removeAttr("checked");
});
});

原文地址:https://www.cnblogs.com/zhangji/p/2791109.html