0

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>?


Make sure you aren't emulating another architecture in your settings. Choose Intel instead of any others and try again. I think you have to create a new device but I'm not certain.

4

1 に答える 1