Opened 10 years ago

Closed 10 years ago

#9319 closed bug (notabug)

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.

Change History (1)

comment:1 Changed 10 years ago by Scott González

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.

Note: See TracTickets for help on using tickets.