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

#246059
ruby76
Participant

Oh wow, that definitely made a difference, thank you! I apparently still have one more problem in that it’s just pulling in the div content for the 4th location on all 4. I have a loop that creates each marker, then calls the function to create the infobox with the “selected” div’s contents. Can you tell from the JS code how I seem to be creating the same infobox each time?

Sorry for the multi-question thread! Thanks so much for looking into this for me.