<object type="text/x-scriptlet" data="http://www.baidu.com" width=400 height=100 id="content_info"></object>
<input type="button" value="" onclick="alert(document.getElementById('content_info').data);">
上面是代码,可以先看效果
点击里面的链接,可以跳转,怎么获取跳转后的链接
<object type="text/x-scriptlet" data="http://www.baidu.com" width=400 height=100 id="content_info"></object>
<input type="button" value="" onclick="alert(document.getElementById('content_info').data);">
上面是代码,可以先看效果
点击里面的链接,可以跳转,怎么获取跳转后的链接
10 回答11.1k 阅读
6 回答3k 阅读
5 回答4.8k 阅读✓ 已解决
4 回答3.1k 阅读✓ 已解决
2 回答2.6k 阅读✓ 已解决
3 回答1.4k 阅读✓ 已解决
3 回答2.3k 阅读✓ 已解决