rootKID Posted February 25, 2018 Share Posted February 25, 2018 (edited) FIXED IT! I placed my script a little lower on the document! Worked... no clue why tho :/ Edited February 25, 2018 by rootKID Link to comment Share on other sites More sharing options...
Ingolme Posted February 26, 2018 Share Posted February 26, 2018 Javascript runs as soon as it begins loading. If the elements that it is trying to access are further down in the document then they won't be available to the script. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now