> 2. I'm passing arguments to the ends because it's easier to keep track of
> them. Kind of like closing parenthesis and tabbing.
Certainly an interesting technique!
Here's my suggested change:
return this.filter('[EMAIL PROTECTED]:not(input):not(textarea):not(select)",
function(){
// Do stuff
});
Two things
1) All of the .not() commands can be merged into a single expression,
which helps a lot.
2) jQuery 1.0 now allows you to transform all instances of:
.doSomething(...).each( fn ).end()
into:
.doSomething( ..., fn )
They are completely equivalent.
Let me know if that helps.
--John
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/