-
Catch #anchor link onLoad
Friends,
I have been looking for days for a solution on this.
What I want is for jQuery to do something when the page has loaded depending on the anchor in the URL.
For example:
domain.com/index.html#dothis
domain.com/index.html#dothat
domain.com/index.html#dosomethingelse
Do these come under the onLoad event or something else?
Any advice appreciated. Thanks.
-
Test the value stored in location.hash at whatever point in the processing where you need to know what follows the #
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks