Bug Tracker

Modify

Ticket #8223 (closed bug: duplicate)

Opened 2 years ago

Last modified 2 years ago

Selector causing an exception

Reported by: oki@… Owned by:
Priority: low Milestone: 1.next
Component: selector Version: 1.5
Keywords: Cc:
Blocking: Blocked by:

Description (last modified by jitter) (diff)

Hello

Using a selector like this used to work fine with jQuery version 1.4.4

$el = $('#articlemenu li a[href=/sites/xxx/yyy/public/fi/article/view/id/111/page/2]');

In version 1.5 it causes an exception:

Uncaught exception: Syntax error unrecognized expression: [href=/sites/xxx/yyy/public/fi/article/view/id/111/page/2]

the element to be matched is

<a href="/sites/hairmail/hairmail/public/fi/article/view/id/111/page/2">

Change History

comment:1 Changed 2 years ago by jitter

  • Priority changed from undecided to high
  • Resolution set to duplicate
  • Status changed from new to closed
  • Component changed from unfiled to selector
  • Description modified (diff)

comment:2 Changed 2 years ago by jitter

Duplicate of #8120.

comment:3 Changed 2 years ago by jitter

  • Priority changed from high to low

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.