[jQuery] Form plugin's serialize(): performance issues

[jQuery] Form plugin's serialize(): performance issues

John,
If you say jQuery doesn't support the OR selector '|', then I'm
confused. I have a form with one SELECT element and several INPUTs.
Check out the following results from Firebug:
>>> $('INPUT', $('#myform')).length
6
>>> $('INPUT|SELECT', $('#myform')).length
7
That's what I expected as a result.. can you explain?
m.
-----Original Message-----
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com] On
Behalf Of John Resig
Sent: Wednesday, September 27, 2006 11:06 AM
To: jQuery Discussion.
Subject: Re: [jQuery] Form plugin's serialize(): performance issues
Unfortunately, jQuery doesn't support the OR selector '|', otherwise
that'd work quite nicely. The problem is that I don't know how this
would work without using "*", and filtering away what you don't need -
while still keeping the order of all the elements that you want.
If anyone has any ideas, I'm all ears.
--John