Displaying 1 result from an estimated 1 matches for "h_in".
Did you mean:
f_in
2005 Dec 08
2
Prototype.js Hash Methods
...following methods -
1. keys
2. values
3. toQueryString
4. inspect
5. Merge
I am trying to play around with them and have come up with the following examples -
var h = $H({name: "john doe", email: "john-Ch9RrZxMC0c@public.gmane.org", msg: "say hello to me"});
var h_in = h.inspect();
alert(h_in);
//returns #<Hash:{''name'': ''john doe'', ''email'': ''john-Ch9RrZxMC0c@public.gmane.org'', ''msg'': ''say hello to me''}>
var qs = h.toQueryString();
alert(qs);
//ret...