hey...
please help me...dont know what to do...
this one seems to run in IE but not in Mozilla...
in sample.html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<script language="JavaScript">
<!--
function redirect2(){
document.sections.location.href = "http://www.yahoo.com";
}
-->
</script>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form name="form1" action="_SELF">
<input type="text" name="text1" value="yes!"><br>
<input type="button" name="but1" value="click me!" onClick="redirect2();">
</form>
<br>
<iframe id="sections" name="sections" src="sample1.html" width="100%" height="500" ></iframe>
</body>
</html>
can anyone tell me why mozilla cant detect the inline frame SECTIONS?...
I am currently making a system which uses javascript to pass values to an inline frame which is then used by the iframe to execute the desired php code. 🙁