Given a dom element:
<li id="foo+bar"></li>
I want to address that element (using jQuery if possible) and I try:
$("#foo+bar")
and I've also tried also escaping it:
$("#foo\+bar")
..but neither seems to work, because (I'm guessing) jQuery can't handle the plus sign it seems. Unfortunately I don't really have the option of changing the id value, so:
Is there a way to make jQuery get the correct dom, or how could I approach this problem?