SyntaxFix
Write A Post
Hire A Developer
Questions
Simple:
if(window.location.hash) { // Fragment exists } else { // Fragment doesn't exist }