在html中如何调用指定页面的指定div标签内的指定内容?

2025-04-11 17:43:46
推荐回答(2个)
回答1:

我先假设不跨域吧。然后使用jQuery

index.html,网络地址http://localhost/index.html







Document






page.html ,网络地址http://localhost/page.html







Document


index.html运行的时候我会被显示过去


回答2:

调用??是获取吧,innerHTML可以。

相关问答