<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<script language="javascript">
function test()
{
document.all["frameMain"].src="http://www.csdn.net";

}
</script>
</head><body>
<IFRAME src="1.htm" name="frameMain" width=590 marginWidth=5 height=500 marginHeight=5 align=middle scrolling="auto" frameBorder=0></iframe>
<input type="button" onClick="test()" value="test">
</body>
</html>