Hi all,
I¹ve been away from Javascript for awhile and am rusty, but this is too
simple not to work! I¹m on a Mac, and usually use the Safari browser. I
have a very basic web page in a frame. All it does is trigger a Perl
script. Works great in Safari, does not work in IE or Netscape. In IE, the
onLoad just doesn¹t seem to fire. I¹ve got to be looking right at the
reason, but I¹m not seeing it. Help?
(The live frameset is at
http://www.wsc.ma.edu/webstudents/Co...e_frameset.htm .)
TIA,
Tery
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>comm test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT language="JavaS cript">
function submitform()
{
document.form.s ubmit();
}
</SCRIPT>
</head>
<body bgcolor="#33009 9" onLoad="submitf orm()">
<form name="form" action="randomi mages_2.pl">
</form>
</body>
</html>
I¹ve been away from Javascript for awhile and am rusty, but this is too
simple not to work! I¹m on a Mac, and usually use the Safari browser. I
have a very basic web page in a frame. All it does is trigger a Perl
script. Works great in Safari, does not work in IE or Netscape. In IE, the
onLoad just doesn¹t seem to fire. I¹ve got to be looking right at the
reason, but I¹m not seeing it. Help?
(The live frameset is at
http://www.wsc.ma.edu/webstudents/Co...e_frameset.htm .)
TIA,
Tery
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>comm test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT language="JavaS cript">
function submitform()
{
document.form.s ubmit();
}
</SCRIPT>
</head>
<body bgcolor="#33009 9" onLoad="submitf orm()">
<form name="form" action="randomi mages_2.pl">
</form>
</body>
</html>
Comment