Sign In/My Account | View Cart  
advertisement

Article:
 Prototype: Easing AJAX's Pain
Subject: why the Hash object?
Date: 2006-04-27 06:10:54
From: bwp
Response to: why the Hash object?

Prototype's Hash object also has convenient merge() and toQueryString() methods. This article shows the merge() method. Here's a link to an excellent reference to the Hash object:


http://www.sergiopereira.com/articles/prototype.js.html#Reference.Hash


You can pass a JS object as a parameter to the $H() Prototype method; the return value is one of these hash objects. At the very least, Prototype saves the development/debugging time associated with creating your own hash utility object.



No Previous Message Previous Message Move up to Parent Message Up Next Message No Next Message


Sponsored By: