L
laredotornado
Hi,
I have this master frameset page
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Account Creation</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=ISO-8859-1">
</HEAD>
<frameset rows="0%, 100%">
<frame src="creation_result.php" name="createAccount">
<frame src="display_result.php" name="content">
</frameset>
follows:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Account Creation</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="../styles/styles.css">
<script type="text/javascript" src="../scripts/util.php"></script>
<script type="text/javascript" src="../scripts/util.js"></script>
<script type="text/javascript">
function setMsg(msg) {
document.getElementById('m').innerHTML = msg;
} // setMsg
</script>
</HEAD>
<BODY>
....
</body>
</html>
How do I refer to the "setMsg" function in the content frame from the
other frame (named "createAccount"?
Thanks, - Dave
I have this master frameset page
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Account Creation</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=ISO-8859-1">
</HEAD>
<frameset rows="0%, 100%">
<frame src="creation_result.php" name="createAccount">
<frame src="display_result.php" name="content">
</frameset>
defined in the content frame. The content frame's HTML is roughly asFrom within the "createAccount" frame, I want to call a function
follows:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Account Creation</TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html;
charset=ISO-8859-1">
<link rel="stylesheet" type="text/css" href="../styles/styles.css">
<script type="text/javascript" src="../scripts/util.php"></script>
<script type="text/javascript" src="../scripts/util.js"></script>
<script type="text/javascript">
function setMsg(msg) {
document.getElementById('m').innerHTML = msg;
} // setMsg
</script>
</HEAD>
<BODY>
....
</body>
</html>
How do I refer to the "setMsg" function in the content frame from the
other frame (named "createAccount"?
Thanks, - Dave