Question
Even though the string is recognised as text, it cannot be searched using the searchForText method.
Despite the text strings being recognized as text, the searchForText method is unable to locate them. The error message "TypeError: searchResults is undefined" is displayed. I would be grateful if you could provide a corrected code snippet.
