Suppose I have an anchor in my page like :turn to header then I also set a button in my page
turn to header
Try This, working for Me !!
$("#anchor").get(0).click();
This will call default click of the anchor.