I have something like .class
and I use this as the id of a div element:
<div id=".class">...</div>
But I can't use this selector:
$("#.class")...
If I remove the .
before class
, it is impossible because the .class
comes from a dynamic code.
I want some way to force the string after #
to be selective.
Perhaps the solution may look something like this:
<div id="<.class>"...