Perhaps there should be a "FastSerialize" method, that doesn't guarantee semantic order, and uses every shortcut to cut down on dom-walking time? This way, the developer can choose whether to use the faster method, or the slower-but-correctly-ordered method.
- Brian >> Can you explain why processing elements in semantic order is important? > > Two reasons: > > $("input | select").eq(0) > > This should access the first matched element of input or select - when > the order isn't important, you'll never know which element will > actually be first. It's important that the element is actually the > first element in the document. > > Secondly, when serializing forms, the order of the elements that comes > back is frequently important - having a different order can cause > problems for certain applications. > > --John > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/