Hi Adriano, This is very, very interesting! At first sight (and with http://www.w3.org/TR/html401/types.html#type-id in mind) this seems to be a bug. List: Correct me, if I'm wrong?
But: Even pure CSS-selectors seem to fail on your test-suite, though: For example, add this to <head> of your code: <style type="text/css"> #item.x { background-color: red; } #itemx { background-color: green; } #item:x { background-color: blue; } </style> Only the id without '.' and ':' gets a background-color (FF 2.0.0.2, IE 6.0.2900, Opera 9.02). Strange, isn't it? -- Marc Adriano Bonat schrieb: > Hello, > > I did a test case to show what is my problem: > http://dpaste.com/7204/ > > I'm trying to use JQuery to get some elements with ids that contains > '.' and ':', but that arent working, and with getElementById that's > working. > > Am I missing something? > > Thanks in advance, > -Adriano > > _______________________________________________ > jQuery mailing list > discuss@jquery.com > http://jquery.com/discuss/ > > _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/