Ticket #6846 (closed bug: worksforme)
Cannot select tags with ids containing periods
|Reported by:||gwatts||Owned by:|
$('#some.id') will not match a tag with an id of "some.id" even though it's valid HTML according to http://www.w3.org/TR/html4/types.html#type-name
Updating quickExpr on line 38 of jquery-1.4.2.js to add the period to the regex fixes it for me: quickExpr = /[<]*(<[\w\W]+>)[>]*$|#([\w.-]+)$/
I guess to agree with the spec it should also include colons and underscores.