pass if on url param


/ Published in: jQuery

pass if on url param


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.