Quantcast
Channel: [Q&A - FAQ Neotys] Last questions
Viewing all articles
Browse latest Browse all 2283

how can we define "document.getElementById" in JS library?

$
0
0

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?


Viewing all articles
Browse latest Browse all 2283

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>