not able to view the disabled radio button in Netscape 7.0

wxdqz

New Member
Hi,

I have two radio button on the page.I want to disable them on click of a button and checked radio button should still remain check.But in case of Netscape 7.0, the disabled radio button does not remain checked.It works in Netscape 6.0 and other IE versions.



Here is the sample code.

<html>
<head>
<script>
function tt()
{
document.frmlower.r1[0].disabled=true;
document.frmlower.r1[1].disabled=true;
}

</script>
</head>
<body>
<form name="frmlower">
<input type="text" value=http://www.webdeveloper.com/forum/archive/index.php/"from2"> <input type="button" name="dd" value="Submit" onclick="tt();">

<input type="radio" name="r1" value="radio2" checked>
<input type="radio" name="r1" VALUE="Radio1">

</form>
</body>
</html>
 
Back
Top