Answers for "if text exists in element using javascript"

0

if text exists in element using javascript

if (
  (
    document.documentElement.textContent || document.documentElement.innerText
  ).indexOf('Done successfuly') > -1
) {
  // Do something...
}
Posted by: Guest on October-30-2020

Code answers related to "if text exists in element using javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language