I have an HTML code with the following:
<object class="sis" id="sis1" type="text/html" data="sis/sis1.html"></object>
and in the imported file I have and <h2> I am trying to manipulate with JS, but I can figure out a way to select the element.
I've even tried:
document.getElementById("sis1").getElementById("h2_id")
but ->
Uncaught TypeError: Object #<HTMLObjectElement> has no method 'getElementById'
document.getElementById("h2_id")Uncaught TypeError: Cannot call method 'attr' of null