Reputation: 10111
I am trying to do something on the backend if i get a #test in the query string but i cant seem to find that.
does any one know how to get those variables?
sample url
loocalhost:3000/#test
Thanks
Upvotes: 2
Views: 368
Reputation: 17790
This is called a fragment identifier.
From http://www.w3.org/Addressing/URL/uri-spec.html
A reference to a particular part of a document may, including the fragment identifier, look like
http://www.myu.edu/org/admin/people#andy
in which case the string "#andy" is not sent to the server, but is retained by the client and used when the whole object had been retrieved.
Upvotes: 3