pass if on url param

/ Published in: jQuery
Save to your folder(s)

pass if on url param

Copy this code and paste it in your HTML
  1. if (window.location.hash == '#register') {
  2. }
  3. else {
  4. }
  6. <a class="register" href="my-account.html#register">New user?</a>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.