> I'm of the opinon that .attr() should _not_ be getting
> properties of an element unless it is to normalize
> attributes like disabled and selected that become
> properties after render.
I don't think that's the way it works today, but I agree it would be good to
analyze the current state of the jQuery API and see if things are
consistent. Perhaps we have an opportunity to remove some things and make
the API more consistent at the same time. As Steven Truppe said, the
difference between $("div").tag() and $("div")[0].tagName isn't very much;
the latter is much more clear about what it is doing and we get it for free.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/