Для имитации клика по якорю:
$('.element').on('click',function(){ document.location.href='#anchor'; });
Please note: JavaScript is required to post comments.