HTML 4.01, section 12.2.3: "The id <http://www.w3.org/TR/html401/struct/global.html#adef-id> and name<http://www.w3.org/TR/html401/struct/links.html#adef-name-A>attributes share the same name space. This means that they cannot both define an anchor with the same name in the same document. It is permissible to use both attributes to specify an element's unique identifier for the following elements: A<http://www.w3.org/TR/html401/struct/links.html#edef-A>, APPLET <http://www.w3.org/TR/html401/struct/objects.html#edef-APPLET>, FORM<http://www.w3.org/TR/html401/interact/forms.html#edef-FORM>, FRAME <http://www.w3.org/TR/html401/present/frames.html#edef-FRAME>, IFRAME<http://www.w3.org/TR/html401/present/frames.html#edef-IFRAME>, IMG <http://www.w3.org/TR/html401/struct/objects.html#edef-IMG>, and MAP<http://www.w3.org/TR/html401/struct/objects.html#edef-MAP>. When both attributes are used on a single element, their values must be identical." (emphasis mine).
-- Yehuda On 12/31/06, Michael Geary <[EMAIL PROTECTED]> wrote:
> ...since the spec requires name and ID to be > identical, it's technically illegal to have a name with "[" > and an ID as well (since IDs cannot contain "["). Um, where does it say the name and id have to be the same? -Mike _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
-- Yehuda Katz Web Developer | Wycats Designs (ph) 718.877.1325
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
