jquery - JavaScript: get and set variables in window.location.hash? -
does have solution getting , setting variables in window.location.hash
?
take url looks this:
domain.com/#q=1&s=2
what i'd unstressful way - javascript or jquery - check values of q
, s
when page loads, , change them following events on page.
i have found some code getting hash variables, nothing sensible setting them.
am missing obvious, or need roll own solution (and release it!)?
thanks.
Comments
Post a Comment