Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/241.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 如何像Firebug那样查看iframe文档中的元素?_Javascript_Php_Jquery_Firebug - Fatal编程技术网

Javascript 如何像Firebug那样查看iframe文档中的元素?

Javascript 如何像Firebug那样查看iframe文档中的元素?,javascript,php,jquery,firebug,Javascript,Php,Jquery,Firebug,我在HTML文档中使用了 当我通过查看源代码选项在浏览器中查看源代码时,我看不到中的元素。然而,当我检查Firebug中的源代码时,我可以看到iframe中的所有元素 有没有办法像Firebug那样通过JavaScript向控制台显示整个HTML结构,例如使用jQuery?右键单击并选择此框架>查看框架源代码。(至少你可以在Firefox中这样做。)你可以使用i作为你的的索引 Sebastian不,我的意思是我想在控制台中像console.log()一样打印它检查这个[链接]。

我在HTML文档中使用了

当我通过查看源代码选项在浏览器中查看源代码时,我看不到
中的元素。然而,当我检查Firebug中的源代码时,我可以看到iframe中的所有元素


有没有办法像Firebug那样通过JavaScript向控制台显示整个HTML结构,例如使用jQuery?

右键单击
并选择此框架>查看框架源代码。(至少你可以在Firefox中这样做。)

你可以使用
i
作为你的
的索引


Sebastian

不,我的意思是我想在控制台中像console.log()一样打印它检查这个[链接]。