Solve Getelementsbytagname Is Not A Function Error Javascript

Solve Getelementsbytagname Is Not A Function Error Javascript