Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Javascript
Javascript check for hash in URL
ALi
Programming language:
Javascript
2021-06-23 12:07:48
0
Q:
Javascript check for hash in URL
Don Bosco
Code:
Javascript
2021-05-30 08:53:45
if (location.href.indexOf("#") != -1) { //current url has a #hash in it }
0
Tags
javascript
check
script
Related
javascript check if character exists in string
javascript hash string
Check if a JavaScript string is a URL
java script hash
js detect hash change
get hash js
javascript url check
how to hash password in node js
javascript check if string contains character
javascript hashtable contains key
js check if string contains character
javascript detect URL hash change
javascript hashtag url
get hash from url
check if word is in string javascript
javascript change url hash
check if value is a string javascript
New to Communities?
Join the community