FengShui1998
MIS
Hi,
Does anybody know why a DIV tag like this:
<div style="position:absolute; left:200">
renders the form useless? If I remove the <div> tag it works fine. Thanks.
fengshui1998
<html><head>
<title>test</title>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
</head>
<body>
<div style="position:absolute; left:200">
<form method="post" action="paging.asp" name="form1">
<input type="radio" name="r1" value="1" >
<input type="radio" name="r1" value="2" >
<input type="radio" name="r1" value="3">
<input type="button" value="press" onclick="check()">
</form>
</div>
</body>
<script language="javascript">
function check()
{
var lenRad = document.form1.r1.length;
alert(lenRad);
if (document.form1.r1.checked == true)
{document.form1.r2.checked = true}
}
</script>
</html>