I have something like:

  return this.filter('[EMAIL PROTECTED]').not('input').not('textarea').not('select').each(function (){
  /* stuff */
  }).end('select').end('textarea').end('input').end('[EMAIL PROTECTED]');

1. Is this query completely daft? AFAIK, I can't use commas like: not('input, textarea, select')
2. I'm passing arguments to the ends because it's easier to keep track of them. Kind of like closing parenthesis and tabbing.
3. Is this the way it was intended or am I missing something? It's possible to just return directly from the stack, but it doesn't seem as maintainable or clear. Still, I'm not completely happy with the syntax.

Thoughts?

-brito
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to