Skip to main content

Bug Tracker

Side navigation

#4131 closed bug (duplicate)

Opened February 11, 2009 11:18PM UTC

Closed February 14, 2009 05:22PM UTC

Last modified March 14, 2012 01:36PM UTC

Can't check for non-blank attributes

Reported by: chrisbarr Owned by: john
Priority: major Milestone: 1.3.2
Component: selector Version: 1.3.1
Keywords: attribute notEqual attributeNotEqual blank Cc:
Blocked by: Blocking:

I had an occasion where I needed to find all links of with a certain class which also did not have a blank title attribute. I thought to use the attributeNotEqual filter found here:

I ran something similar to this code:


And firebug returns:

uncaught exception: Syntax error, unrecognized expression: title!='']

Demo here:

Editable demo:

Putting anything inside the quotes works as expected, but apparently you can't find elements without a blank attribute.

Attachments (0)
Change History (4)

Changed February 11, 2009 11:21PM UTC by chrisbarr comment:1

So.... the code sample I wrote above did not format correctly in here. Please check the example I linked to.

Changed February 12, 2009 03:33AM UTC by dmethvin comment:2

Chris, does it look like this bug is the same as yours? If so it should be fixed in the next release.

Changed February 12, 2009 04:31AM UTC by chrisbarr comment:3

Yes, that appears to be the exact same problem. Sorry about the duplicate ticket, but I'm glad to see it's been fixed!

Changed February 14, 2009 05:22PM UTC by john comment:4

resolution: → duplicate
status: newclosed