Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript [Solved] Trouble Using Variable in GetElementById Reply To: [Solved] Trouble Using Variable in GetElementById

#246025
Alex Zaworski
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.