0

It makes since that, when working with javascript, document.getElementById() can't find the Id of an object that hasn't yet been added to the DOM, however when I nest document.getElementById() in a function and call it after the object has been created, document.getElementById() still can't find the object.

is there a way around this? if not, can someone at least explain to me why it doesn't work?

Thank You

2
Contributors
2
Replies
5
Views
5 Years
Discussion Span
Last Post by deshazer.jad
0

thank you for the help... I was going to post some examples, but I figured out the answer to my question

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.