YAHOO.widget.DS_XHR是否可以跨域加载数据?

发布于 2024-10-10 10:51:42 字数 117 浏览 0 评论 0原文

我正在尝试构建一个自动完成脚本。该字典位于单独的域上,这似乎破坏了自动完成功能。

我使用YAHOO.widget.DS_XHR加载数据源,是否可以使用此功能跨域加载数据?如果没有,我应该使用另一种方法吗?

I am trying to build an autocomplete script. The dictionary is on a separate domain and that seems to break the autocomplete.

I am use YAHOO.widget.DS_XHR to load the datasource, is it possible to use this function to load data cross-domain? If not is there another method I should be using?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

请止步禁区 2024-10-17 10:51:42

否,因为此功能取决于浏览器限制设置。

No, because this functionality depends on the browsers restriction setting.

静待花开 2024-10-17 10:51:42

我不得不使用 YAHOO.widget.DS_ScriptNode() 代替。

I had to use YAHOO.widget.DS_ScriptNode() instead.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文