gpt4 book ai didi

javascript - 无法获取 $(document).html()

转载 作者:行者123 更新时间:2023-11-30 06:30:50 25 4
gpt4 key购买 nike

<分区>

这个事件在我成功时被触发:

$(document).on('dblclick', function() {
alert($(document).html());
});

但是控制台抛出异常:

Timestamp: 20.7.2013 18:59:35
Error: TypeError: t is null
Source File: http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js
Line: 5

这是一个与 jQuery 相关的问题,还是我使用了错误的方法来获取当前 HTML 文档的整个 HTML?

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com