I\'ve searched an answer to this question but can\'t get a way how to do it.
I want to access the content of a div that I have included in an object tag.
My
document.getElementById('id').innerHTML or document.getElementById('id').outerHTML whichever you are looking for...
document.getElementById('id').innerHTML
document.getElementById('id').outerHTML
see how to append to a object with innerHTML