我试图触发对锚标记的点击,但它似乎不起作用?
<a id="pop" href="http://www.google.com/" target="_blank">Pop This</a>
$(document).ready(function () {
function libertyPop() {
$("#pop").click(function(){ console.log(this)});
}
libertyPop();
});