My nodes sometimes have a dot in their ID attribute, as shown in this example:
<div id="site_someSite.com"></div>
When I try to select this element using jQuery with the following code:
variable = $('#site_'+user);
(where user is 'someSite.com')
I am not getting anything stored in the variable. It seems that jQuery is interpreting the dot as a class instead of part of the ID. Does anyone know how to address this issue without avoiding the use of a dot?