zebdaag
10-13-2005, 10:21 AM
Hi,
I found this on the internet and couldn't get it to work on Firefox can someone help me with this:
PageOne.htm
<html>
<head>
<script language='JavaScript'>
function Search() {
alert(document.frames("PageTwo").document.forms("Members").elements("Search").value);
}
</script>
</head>
<body>
<input type='button' value='Search' onclick='Search();'>
<iframe name='PageTwo' src="PageTwo.htm" width='100%' height='100'>
</body>
</html>
PageTwo.htm
<html>
<body>
<form name='Members'>
<input type='text' name='Search' value='Chris'>
</form>
</body>
</html>
thanks in advance
zeg
I found this on the internet and couldn't get it to work on Firefox can someone help me with this:
PageOne.htm
<html>
<head>
<script language='JavaScript'>
function Search() {
alert(document.frames("PageTwo").document.forms("Members").elements("Search").value);
}
</script>
</head>
<body>
<input type='button' value='Search' onclick='Search();'>
<iframe name='PageTwo' src="PageTwo.htm" width='100%' height='100'>
</body>
</html>
PageTwo.htm
<html>
<body>
<form name='Members'>
<input type='text' name='Search' value='Chris'>
</form>
</body>
</html>
thanks in advance
zeg