Refresh website after 1 sec. when anchor link is clicked

Hi,

I need a script which will refresh the page 1 sec. after the anchor text is clicked

<a href="#YourAnchor">blabla</a>

Thanks a lot!

<a href=“javascript:void(0);” onclick=“setTimeout(‘document.location.href = \’#YourAnchor\‘;’, 1000); return false;”>blabla</a>