I wrote a script inside the
innerHTML of a Text element. I was geeting this error while trying to access other element’s data using the Hype API:
ReferenceError: Can’t find variable: hypeDocument
Later, I did the same thing using jQuery without an issue. How to solve this issue for the Hype API? Please see the attachment to understand the issue. Thanks!
hypeDocument innerHTML.zip (11.6 KB)