This is caused by having elements with the same name.

For example:

<input name="myvar" value="Hello World">
<input name="myvar" value="">

After serialization you'd get something like this...

?myvar=Hello%2520World

Why?

1st run it encodes, myvar = urlencode(Hello World) // myvar= Hello
%20World
2nd run it encodes, myvar = urlencode(Hello%20World) // myvar= Hello
%2520World

Solution: Don't use the same name/id ever. Also, never use the same
name or id, They both must be unique from each other, Thanks IE.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to