Home › Forums › JavaScript › [Solved] Trouble Using Variable in GetElementById › Reply To: [Solved] Trouble Using Variable in GetElementById
September 29, 2016 at 6:03 pm
#246025
Participant
Hmm well it sounds like the id doesn’t exist on any DOM elements. I’d start by verifying that whatever selected
is equal to is actually the id you’re looking for.