<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.7k 阅读
2 回答3.2k 阅读✓ 已解决
5 回答832 阅读
3 回答1.7k 阅读✓ 已解决
4 回答2.2k 阅读✓ 已解决
3 回答1.2k 阅读✓ 已解决
3 回答868 阅读✓ 已解决