有没有办法在chrome中获取文档和窗口属性 [英] Is there a way to get document and window properties in chrome
本文介绍了有没有办法在chrome中获取文档和窗口属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法在chrome开发工具箱中获取文档和窗口属性?
Is there a way to get document and window properties in the chrome developer toolbox?
我没有在开发工具箱的元素标签中看到它。在解决jquery.offset问题时,这将非常方便
I don't see it in the element tab of the developer toolbox. This would be really handy when troubleshooting jquery.offset problems
当然,我们不妨在firefox 4 +中讨论这个问题
While were at it we might as well discuss this in firefox 4+
谢谢
Thanks
推荐答案
尝试在控制台中输入内容:
Try typing in the console:
console.dir(window) //just "window" would work too
console.dir(document)
这篇关于有没有办法在chrome中获取文档和窗口属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文