Last active
March 20, 2016 01:51
-
-
Save eagleon/cf5639e776a02e0b0298 to your computer and use it in GitHub Desktop.
iframe测试
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="zh-cn"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | |
<meta name="renderer" content="webkit" /> | |
<meta name="viewport" content="width=device-width, user-scalable=yes" /> | |
<script type="text/javascript"> | |
function a() | |
{ | |
document.getElementById("cc").src="https://www.baidu.com/s?wd=test"; | |
} | |
</script> | |
</head> | |
<body> | |
<table width="100%" boder="0" cellpadding="0" cellspacing="0"> | |
<tr> | |
<td><input type="button" value="点击我" onclick="a()"><td> | |
<td><iframe id="cc" src="http://www.jd.com" width="100%" height="700px"></iframe></td> | |
</tr> | |
</table> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment