On Sun, Mar 15, 2009 at 6:23 AM, Jonas <jonas.sjob...@gmail.com> wrote: > > I need some advice on working with the hash, are there any good > plugins or alike that I could use? The bestw ould be something like > mysite.com#name=jonas&phone=12345 > > Then I'd do something like > var myHash = getHashObject(); > > the object would then be soemthing like > { > name: 'jonas', > phone: 12345 > } > > And something to write to the hash > var myNewHash = { > name: 'donald', > phone: 54321 > } > writeHash(myNewHash); > > I guess there isn't anything exactly like that but something similiar > would be nice if anyone know something.
That'd be a query string you're looking for, not a hash. Have a look at javascript's location object. http://www.google.com/search?hl=en&safe=off&rlz=1G1GGLQ_ENUS271&q=javascript+location+object&btnG=Search