Wednesday, November 16, 2011

Get A URL Hash Parameter

Retrive a hash parameter and store in a variable:
[javascript]
// Get # parameter
var param = document.URL.split('#')[1];
[/javascript]

0 comments:

Post a Comment