Hello.
Is it possible to serialize a form but without empty inputs?
I've been looking on the Internet for an example and I have tried code
like this one, but without achieving success:
$('step2').serialize(true).each(function(s, index) {if (s.empty()) {$
('step2').remove(key)}})
or
$('step2').serialize(true).each(function(s, index) {if (s.empty())
{this.remove(key)}})
Any help is appreciated.
Best regards,
B.
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" 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/prototype-scriptaculous?hl=en.