Side navigation
#8223 closed bug (duplicate)
Opened February 09, 2011 03:25PM UTC
Closed February 09, 2011 03:30PM UTC
Last modified February 09, 2011 03:30PM UTC
Selector causing an exception
Reported by: | oki@turningpoint.fi | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.next |
Component: | selector | Version: | 1.5 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
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">
Attachments (0)
Change History (3)
Changed February 09, 2011 03:30PM UTC by comment:1
component: | unfiled → selector |
---|---|
description: | 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"> \ → 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"> \ }}} |
priority: | undecided → high |
resolution: | → duplicate |
status: | new → closed |
Changed February 09, 2011 03:30PM UTC by comment:3
priority: | high → low |
---|