gpt4 book ai didi

javascript - Firebug "XML cannot be the whole program"错误消息是什么意思?

转载 作者:可可西里 更新时间:2023-11-01 02:33:03 25 4
gpt4 key购买 nike

我刚刚在 Firebug 中收到此错误消息。谷歌搜索只揭示了其他神秘人物!有谁知道这是什么意思吗?

它在这个 3 行脚本的最后一行指示:

<script>
g_BuildServer = "/";
</script>

最佳答案

如果您将 JavaScript 放入 js 文件中(我假设您这样做了),请不要放置脚本标签,而是放置

g_BuildServer = "/";

只有。

否则,对于解析器,您只是提供了一个 XML 文档作为脚本。

关于javascript - Firebug "XML cannot be the whole program"错误消息是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1371189/

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