Detect an element on a page

Detect and/or count an element on a page from a jQuery selector

Demos & Screenshots

No screenshots provided yet. Have some video demos or screenshots of this brick in the wild?
Send them over to [email protected]!

How to Use

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


Name Required Type Description
selector string jQuery selector


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


ID @pixiebrix/dom/detect
Author @pixiebrix
Version 1.7.0
Created Aug. 17, 2021
Updated May 26, 2022

Related Bricks

  • No related bricks