Javascript check for hash in URL
if (location.href.indexOf("#") != -1) {
//current url has a #hash in it
}
Are there any code examples left?
New code examples in category Javascript
if (location.href.indexOf("#") != -1) {
//current url has a #hash in it
}