Side navigation
#2926 closed bug (invalid)
Opened May 23, 2008 08:26AM UTC
Closed May 23, 2008 04:46PM UTC
Last modified September 09, 2011 02:40PM UTC
tilde in id prevents jquery from selecting the object
Reported by: | deg | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | core | Version: | 1.2.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
if you use a tilde in a an id for example 'a~b' then this object is no longer selectable. $("#a~b") doesn't seem to work. Bug or feature? :)
Attachments (0)
Change History (3)
Changed May 23, 2008 04:46PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
Changed September 09, 2011 07:05AM UTC by comment:2
OK i didnt got it, what should i prepend cause i have same problem and i also think its jquery bug.
Changed September 09, 2011 02:40PM UTC by comment:3
Nice try.
You can escape characters by prepending \\\\
so it will be: $("#a\\\\~b")