Alex Objelean wrote:
I've created a ticket, see here - [http://dev.jquery.com/ticket/
1321#preview]

Hope it will be fixed ASAP (in 1.1.3 release ?).

This pops up here regularly. The dot has a special meaning in CSS (being a class selector). Thus a selector "#div_container.bug" will select the following element:

<div id="div_container" class="bug">

So far, that is not even a bug, it is expected behavior as jQuery implements CSS selectors.

If you want to take away the special meaning of special characters in CSS, you need to escape them with a backslash "\":

The selector "#div_container\.bug" will select the desired element:

<div id="div_container.bug">

This has been fixed already:
http://dev.jquery.com/ticket/143



--Klaus


Reply via email to