Skip to main content

Search and Top Navigation

#9319 closed bug (notabug)

Opened May 22, 2013 06:29AM UTC

Closed May 22, 2013 12:23PM UTC

Error displayed while trying to use an id prefixed by '$$' for autocomplete

Reported by: sarina Owned by:
Priority: minor Milestone: none
Component: ui.widget Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:
Description

Hi, I am trying to use autocomplete. It works well with input id's in plain text but gives an error mentioned below if my id is prefixed by $$

E.g

1:

<input id="tags" />

works well

2:

<input id="$$Cod_test" />

'Syntax error, unrecognized expression: #$$Cod_test'.

Kindly suggest.

Attachments (0)
Change History (1)

Changed May 22, 2013 12:23PM UTC by scottgonzalez comment:1

resolution: → notabug
status: newclosed

You need to escape your selector. See http://api.jquery.com/category/selectors/ and if you have questions please use the forums or Stack Overflow.