Skip to content Skip to sidebar Skip to footer
Showing posts with the label Hash

Parsing Ruby Hash Literal Using Javascript

I need to take raw client text in a web form and send it back to a Tomcat servlet as JSON. For lega… Read more Parsing Ruby Hash Literal Using Javascript

Javascript: Selectively Remove Hash (or Hashes) From Urls, So That The Url Remains Valid Or Usable

Say we have the following urls: 1. http://example.com#hash0 2. http://example.com#hash0#hash1 3. ht… Read more Javascript: Selectively Remove Hash (or Hashes) From Urls, So That The Url Remains Valid Or Usable

Differing Sha1 Hashes For Identical Values On The Server And The Client

On the client I'm using Rusha, which I've put into a wrapper: function cSHA1(m){ return (… Read more Differing Sha1 Hashes For Identical Values On The Server And The Client

Arranging Elements In To A Hash Array

I am trying to break a javascript object in to small array so that I can easily access the innerlev… Read more Arranging Elements In To A Hash Array

Get Url From Iframe And Update Hash In Browser Url

I've tried a few different things but nothing really worked, basically i need to get the curren… Read more Get Url From Iframe And Update Hash In Browser Url

Adding A Class To An A Element With A Particular Href Using Hash

I'm trying to add an 'active' class to a particular element based on the URL hash but i… Read more Adding A Class To An A Element With A Particular Href Using Hash