Event-Based Rule: Element Exists



Does anyone have any advice on the event-based rule using "element exists"?  I cannot get my rule to fire. If I change the event type to mouseover, it fires no problem -- so the selector is obviously correct.

Accepted Solutions (1)

Accepted Solutions (1)




Hi There,

Thanks for reaching out to Adobe Community.

Locate the element on your site where the desired event action occurs, right click and select Inspect element. Inspect the highlighted script in the box that opens and ensure you are targeting the correct element. Example:

Target element: <div class=’pauseButton’ style=’opacity: 1’>

Selector Syntax:

  • CSS Selector Syntax: div.pauseButton OR div[class=’pauseButton’]
  • Manually assign attributes:Element Tag: div
  • Property: class
  • Value: pauseButton

Hope this helps!

Answers (0)