> I have to disagree on this being a design flaw. This is one of my favorite
> design features of jQuery. I often think of it like SQL. You might construct
> a SQL statement like


I agree 100% with Richard.

One of the defining design characteristics of jQuery is how it
embodies implicit iteration.  So I can write this:

$('div').hide();

to hide all the divs on the page.  It doesn't matter if there are zero
divs or 100, they are all hidden.  Of course if I have a typo in my
code and execute something like this:

$('divv').hide();

no divs will be hidden.  But that does not make this a design flaw.
It makes it a typo.

Mike



Reply via email to