1、模拟真实手动点击

document.getElementById("firstPage").click();

 

2、调用点击事件,但不刷新页面

$("#firstPage").click();