What is the Prototype syntax for looping through all arguments in a
function?  Is it arguments.each() or something?

The reason I ask is because I'd like to loop through all args in a function
and apply the 
encodeURIComponent()<http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Functions:encodeURIComponent>(
1<http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Functions:encodeURIComponent>,
2 <http://www.hunlock.com/blogs/The_Ultimate_Ajax_Object>) when submitting
an Ajax post of text fields, in order to make sure to escape out of all
special chars, etc.

thanks for any heads up and cheers,
Mark

--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-spinoffs@googlegroups.com
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