So.... clarify.. why are IDs so bad? Just because they are overused?

On 1/19/07, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:

Don't get me wrong, I use an occasional id. But ids are over used.
Sure jQuery selects a single element faster with an id than with a
class, but that's only the beginning of a good chain of jquery!

With a properly formatted html/xml, you can deal with the ancestors,
children, siblings, prev, next, and filter. That's why xml, xsl,
xquery, xpath, and jQuery are cool technologies (in my mind) and text
files and last millennium javascript programs are not.


The reason I'm posting this is I made a reference to this  motto, that
might be misunderstood.

    "IDs are a crutch for the weak. Classes are for the strong."

Jake

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

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

Reply via email to