Heya everyone. I'd first like to thank everyone who helped me with my last problem.
Now to the second.
I have a difficulty getting jS working in both IE and Netscape. If anyone can help me get this to work for Netscape 4.7+ and Netscape 6+ I would greatly appreciate it.
Parent Page
-------------
<html>
<head>
<title>Bid Opps</title>
<script language="JavaScript">
function div2win() {
window.open('pop/div2.htm','divPop','width=400,height=480,scrollbars=yes');
document.bidForm.div2Box.value = "";
}
</script>
</head>
<body>
<form name=bidForm>
<a href="javascript:div2win();">Division 2</a><br>
<textarea name="div2Box" cols="20" rows="4"></textarea>
</form>
</body>
</html>
Child Page
------------
<html>
<head>
<title>Division 2 Listing</title>
<script language=JavaScript>
function div2Value(){
for(var i=0;i<document.division2.chk.length;i++)
{
if (document.division2.chk.checked)
window.opener.bidForm.div2Box.value = window.opener.bidForm.div2Box.value + " #" + document.division2.chk.value;
}
window.close();
}
</script>
</head>
<body>
<form name=division2>
<input type="checkbox" name="chk" value="100">100 - Something and Something<br>
<input type="checkbox" name="chk" value="200">200<br>
<input type="checkbox" name="chk" value="300">300<br>
<input type="checkbox" name="chk" value="400">400<br>
<input type=submit value="Submit and Close Window" onClick="div2Value();">
</form>
</body>
</html> 'you can't depend on your judgement when your imagination is out of focus' - mark twain
'we are all in the gutter, but some of us are looking at the stars.' - oscar wilde
Now to the second.
I have a difficulty getting jS working in both IE and Netscape. If anyone can help me get this to work for Netscape 4.7+ and Netscape 6+ I would greatly appreciate it.
Parent Page
-------------
<html>
<head>
<title>Bid Opps</title>
<script language="JavaScript">
function div2win() {
window.open('pop/div2.htm','divPop','width=400,height=480,scrollbars=yes');
document.bidForm.div2Box.value = "";
}
</script>
</head>
<body>
<form name=bidForm>
<a href="javascript:div2win();">Division 2</a><br>
<textarea name="div2Box" cols="20" rows="4"></textarea>
</form>
</body>
</html>
Child Page
------------
<html>
<head>
<title>Division 2 Listing</title>
<script language=JavaScript>
function div2Value(){
for(var i=0;i<document.division2.chk.length;i++)
{
if (document.division2.chk.checked)
window.opener.bidForm.div2Box.value = window.opener.bidForm.div2Box.value + " #" + document.division2.chk.value;
}
window.close();
}
</script>
</head>
<body>
<form name=division2>
<input type="checkbox" name="chk" value="100">100 - Something and Something<br>
<input type="checkbox" name="chk" value="200">200<br>
<input type="checkbox" name="chk" value="300">300<br>
<input type="checkbox" name="chk" value="400">400<br>
<input type=submit value="Submit and Close Window" onClick="div2Value();">
</form>
</body>
</html> 'you can't depend on your judgement when your imagination is out of focus' - mark twain
'we are all in the gutter, but some of us are looking at the stars.' - oscar wilde