I have this code on jsfiddle.
HTML:
<object type="text/html" data="http://www.w3.org/" style="width:100%; height:100%;position: absolute;bottom: 0;"></object>
JS:
console.log($('object').find('*').length);
In tag there is strange #document tag and I can't find any tag in there Console says, that there are zero elements.
How can I read from DOM in <object>
? What is #document in <object>
?