For example, I have a URL as :
http://www.google.com/#hash=value2x
I want a js code to return just value2x. I tried
value2x
location.parseHash = function(){ var hash = (this.hash ||'').replace(/^#/,'').split('&'), parsed = {}; for(var i =0,el;i