Attribute Starts With Selector and Attribute Contains Selector does not work with escaped meta-characters in find()
|Reported by:||rockitbaby||Owned by:|
Description (last modified by snover)
The Attribute Starts With Selector [name=value] and Attribute Contains Selector [name*=value] does not return any elements when used in the find() function and the value contains escaped meta-characters.
$('a[href^=\\#]').size() != $('body').find('a[href^=\\#]').size();
Test file is attached.
Change History (4)
comment:3 Changed 6 years ago by snover
- Description modified (diff)
- Priority set to undecided
- Resolution set to duplicate
- Status changed from new to closed