Posted By

LadyLoomis on 03/03/12


Tagged

get url jquery hash hashtag #


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

allprowebdesigns
johnw
BrockSamsom


Get Hashtag in URL with jQuery


 / Published in: jQuery
 

Grab the hashtag at the end of the current URL.

  1. var url = $(location).attr('href').split("#")[1];

Report this snippet  

You need to login to post a comment.