Detect an element on a page

Detect and/or count an element using a jQuery selector

by @pixiebrix

How to Use

No instructions provided yet. Have questions?
Ask the PixieBrix Community!


Name Required Type Description
selector string jQuery selector
isRootAware boolean Whether the brick should run in the context of the target element, or document


Name Required Type Description
count number The number of matches
exists boolean True if the element was detected

Related Tags