Posted By

sekihin on 01/31/10


Tagged

javascript


Versions (?)

Onclick move to anchor


 / Published in: JavaScript
 

  1. function jumpToAnchor() {
  2. window.location = String(window.location).replace(/\#.*$/, "") + "#blah";
  3. }

Report this snippet  

You need to login to post a comment.