In this example should the two document.getElementById() calls be pointing to the same elem and should the let pdf be declared first in the function? I keep getting "Error: Element is not attached to a Document"
↧