我无法选择<标题>使用 jQuery 在 Atom XML 中添加标签

发布于 2024-09-27 21:11:25 字数 544 浏览 2 评论 0原文

我使用 jQuery 通过 Ajax 获取 Google Picasa 网络相册的原子数据。此原子数据如下所示:

http://code.google。 com/apis/picasaweb/docs/2.0/developers_guide_protocol.html#ListAlbums

当我写的时候

$(xhr).find('entry id').eq(0).html();

就可以了。

$(xhr).find('entry title').eq(0).html();

不选择

</code> 标签存在。

请告诉我如何解决这个问题。谢谢你!

I get a Google Picasa web albums' atom data through Ajax using jQuery. This atom data looks like this:

http://code.google.com/apis/picasaweb/docs/2.0/developers_guide_protocol.html#ListAlbums

When I write

$(xhr).find('entry id').eq(0).html();

it is OK.

But

$(xhr).find('entry title').eq(0).html();

does not select

The <title> tag exists.

Please tell me how to resolve this problem. Thank you!

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文