Thread: Forms
View Single Post
Old 01-09-2004, 11:03 AM   #4 (permalink)
westiferus
Registered User
 
Join Date: Jan 2004
Posts: 2
westiferus is on a distinguished road
Here is the source for the child page, the form. I'm still not having any luck getting the info to the parent page, maybe I'm doing something wrong, check it out:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Status Update</title>
<script language="Javascript" type="text/javascript">
<!-- Hide script from old browsers

function updateParent(textField) {
opener.document.outputForm.msgLine.value
= textField.value
}

// End hiding script from old browsers -->
</script>
</head>
<body bgcolor="#FFFFFF">
<div id="updateform">
<form method="post" action="opcen.html">
Status: <input type="text" name="status" onBlur=
"updateParent(this) SIZE="2">

Comments: <input type="text" name="comments" size="30" />

<input type="submit" value="Submit"/>


</div>
</body>
</html>
westiferus is offline   Reply With Quote