如何从iFrame内容中获取数据?

时间:2018-04-21 18:21:45

标签: javascript jquery html iframe

我试图从<iframe src="https://calendar.google.com/calendar/embed?src=ll9sc57s45b1rrpl4tddn1jb2k%40group.calendar.google.com&ctz=Europe%2FPrague" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe>

获取

我有什么方法可以获得该日期?这是一个谷歌日历。

1 个答案:

答案 0 :(得分:0)

Google需要相同的来源,因此将其加载到iFrame并不是那么简单。

How to show google.com in an iframe?

当然有一个日历API,因此可能会指向正确的方向。

https://developers.google.com/calendar/

相关问题