有些文件我不能得到文件的高度(位置绝对在最底部)。此外,填充底部似乎在这些页面上不起任何作用,但在高度将返回的页面上起作用。相关案例:
< p > http://fandango.com < br > http://paperbackswap.com < / p > < br > < p >在胡闹 jQuery的$(document).height();
返回正确的值document.height
返回0document.body.scrollHeight
返回0
在平装书交换:
jQuery的$(document).height();
TypeError: $(document)
is null
document.height
返回不正确的值
document.body.scrollHeight
返回不正确的值
注意:我有浏览器级别的权限,如果有一些技巧在那里。