Opened 10 years ago
Closed 10 years ago
#12663 closed bug (notabug)
Syntax error, unrecognized expression when passing string with forward slash ('/') to $
Reported by: | jordanj77 | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$("some-url") returns an empty object.
$("/some/url") throws a Syntax error, unrecognized expression.
Any reason the latter shouldn't just return an empty object?
Example: http://jsfiddle.net/6rF6h/1/
Note: See
TracTickets for help on using
tickets.
My reason would be because it's a syntax error and an unrecognized expression.