[name*=value]
Select resources that have property name
containing value
:
// select children pages titled 'foo', 'foo bar', 'bar foo bar', 'foofoofoo', etc.
$(resources).children("cq:Page[jcr:content/jcr:title*=foo]")
[name~=value]
Select resources that have property name
containing word value
delimited with spaces:
// select children pages titled 'foo', 'foo bar', 'bar foo bar', but not 'foofoofoo'
$(resources).children("cq:Page[jcr:content/jcr:title~=foo]")
[name$=value]
Select resources that have property name
ending with value
:
// select children pages titled 'foo', 'bar foo', etc.
$(resources).children("cq:Page[jcr:content/jcr:title$=foo]")
[name=value]
Select resources that have property name
that equals to value
:
$(resources).children("cq:Page[jcr:content/jcr:title=foo]")
[name!=value]
Select resources that have property name
that not equals to value
:
$(resources).children("cq:Page[jcr:content/jcr:title!=foo]")
[name^=value]
Select resources that have property name
starting with value
:
// select children pages titled 'foo', 'foo bar', etc.
$(resources).children("cq:Page[jcr:content/jcr:title^=foo]")
[name]
Select resources that have property name
:
$(resources).find("[markerProperty]")