I face a problem with associative array. I have 4 parameters. 3 works
fine except the last one. I observe and realize that the value for
this last parameter is new%2520york, while in my existing code, the
value I saw in the URL is new%20york

How come?

The sample I use is

<script>
        function testHash()
        {
                //let's create the object
                var a = {
                        first: 10,
                        second: 20,
                        third: 30
                        };

                //now transform it into a hash
                var h = $H(a);
                alert(h.toQueryString()); //displays: 
first=10&second=20&third=30
        }

</script>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to