I have a javascript function that contains "document.getElementById", but the problem is that I can't run it at JS library level.
when I ran it, I had the following error: ReferenceError: "document" is not defined.
How can i fix it?
↧
how can we define "document.getElementById" in JS library?
↧