[Catalyst] OT: Javascript question

samwyse samwyse at gmail.com
Fri Jun 24 23:46:58 CEST 2005


This isn't a Catalyst questioin, but since it's for something I'm
doing in Catalyst, I thought I'd ask here first.

I'm looking for some Javascript that, given a form object, will return
a string of the form "var1=value1&var2=value2&..." for all of the
fields in the form.  The function should not have to know the names or
types of input fields, or even how many there are.  And of course the
fields are sprinkled inside other objects, such as tables and lists.

Don't waste time coding something up for me, I'm just looking for
something off-the-shelf.  I haven't had much luck with Google, but I
can probably figure it out on my own in a few hours if I can't find a
solution anywhere else.

Thanks in advance.



More information about the Catalyst mailing list