I have a funtion that receives an html object tag(<object id ='test'>). I would like to use it as a standard html control. So I make a innerhtml of it to a <div> tag.
However it seems I cannot use it. For instance the following code will give an error:
alert(document.getElementById('test').id)
Does this menas I cant use the object as a standard html object?
Thank you
However it seems I cannot use it. For instance the following code will give an error:
alert(document.getElementById('test').id)
Does this menas I cant use the object as a standard html object?
Thank you