如何在一个frame中调用另一个frame中的javascript函数

1.htm

<script language="javascript">
function test()
{
alert("测试")
}
</script>
---------------------------------------------
2.htm

<input type="button" onclick="parent.frame1.test()">

原文地址:https://www.cnblogs.com/hubing/p/3523903.html