Mike Alsup schrieb: >> I don't even think this would break code that currently uses serialize from >> core. > > That's probably not true. Current usage would probably need to be updated > from: > > var s = $('input,textarea').serialize(); > > to: > > var s = $('#myForm').serialize();
Couldn't that be handled backwards compatible? if (this.nodeName.toLowerCase() == 'form') ... else ... Or with an argument: $('#myForm').serialize(flag); Hm, but thats not very beautiful. -- Klaus _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/