Hi, thanks for reading my post, I appreciate it. I have a page that has a link that opens a child window, and in the child window I have a link that I want to change the parent window's form action and submit it, below is the code for the child window:
<html>
<head>
<script language="JavaScript">
function woof()
{
window.opener.document.forms[0].Action="Two.html";
window.opener.document.forms[0].Submit();
}
</script>
</head>
<body>
<a href="javascript:woof()">Click Here</a>
</body>
</html>
But this doesnt do either, Any help would be greatly appreciated. Thanks again for reading...Kevin
<html>
<head>
<script language="JavaScript">
function woof()
{
window.opener.document.forms[0].Action="Two.html";
window.opener.document.forms[0].Submit();
}
</script>
</head>
<body>
<a href="javascript:woof()">Click Here</a>
</body>
</html>
But this doesnt do either, Any help would be greatly appreciated. Thanks again for reading...Kevin