Home › Forums › JavaScript › [Solved] Trouble Using Variable in GetElementById › Reply To: [Solved] Trouble Using Variable in GetElementById
September 30, 2016 at 2:25 pm
#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.