Posted By

thesmu on 10/26/13


Tagged

url if


Versions (?)

pass if on url param


 / Published in: jQuery
 

pass if on url param

  1. if (window.location.hash == '#register') {
  2. }
  3. else {
  4. }
  5.  
  6. <a class="register" href="my-account.html#register">New user?</a>

Report this snippet  

You need to login to post a comment.