Home > Edge

Javascript window.location.hash

Javascript window.location.hash returns the value of URL that comes after "#"For ex.             https://mundrisoft.com/tech-bytes/wp-admin/post-new.php#searchtermwindow.location.hash will return "#searchterm" in browsers IE 11, Edge and Chrome  and Mozilla For an empty hash URL:          https://mundrisoft.com/tech-bytes/wp-admin/post-new.php#window.location.hash will return"#" -> Chrome, Mozilla, IE 11"" -> EdgeSo, keep this little

This Article is TAGGED in , , , . Read more