Bug Tracker

Opened 12 years ago

Closed 12 years ago

#8963 closed bug (invalid)

$('name=a.b'),when the value include the point '.',the error has been throwed

Reported by: [email protected] Owned by:
Priority: low Milestone: 1.next
Component: selector Version: 1.5.2
Keywords: Cc:
Blocked by: Blocking:


example:<input type="text" name="tlinePrice.cprcitem" />
error in fireFox:uncaught exception: Syntax error, unrecognized expression: [name=tlinePrice.cprcitem]

Change History (1)

comment:1 Changed 12 years ago by timmywil

Component: unfiledselector
Priority: undecidedlow
Resolution: invalid
Status: newclosed

Your selector is invalid. You need to use brackets for attribute selectors and quotes are needed around the attribute value. http://jsfiddle.net/timmywil/gmYtr/ See http://api.jquery.com/attribute-equals-selector/

Note: See TracTickets for help on using tickets.