Ah, I actually confused Micah's and Ricardo's answers.

Micah was claiming dots are illegal in IDs, referencing the w3 spec, which
Ricardo then pointed out as faulty.

Personally I don't use anything but \w in IDs, but I felt it was important
to point out using a dot in the ID does not make illegal markup.

JK

-----Original Message-----
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Methvin
Sent: Friday, October 17, 2008 12:54 PM
To: jQuery (English)
Subject: [jQuery] Re: dot separated id


> It's not useful to claim that the specs are faulty.  Until they change,
dots
> in IDs are legal and valid.

Re-read Ricardo's answer. You are free to use dots in your ids if you
want. He is saying that by permitting a dot in an id string, the specs
allow a confusing ambiguity that has to be resolved somehow. The W3C
says this:

Reply via email to