There are no tracking or monitoring cookies on this site. There are only cookies used for documentation examples related to cookies.
Close

Processing...
This may take a few seconds.

if-inner-text

Syntax

if-inner-text: selector "string";

Same thing as the if-inner-html conditional, except it checks the innerText property.

Reference:

https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/innerText