jQuery selector can\'t select an ID if it contains a . in it. in my application ID name generates dynamically from usernames.
.
How can I esca
You don't actually need to remote the .'s from the id. You simply need to escape any special characters in the selector. For example, to select the following element:
... you can use:
$('#foo\\.bar');