Click to See Complete Forum and Search --> : not able to view the disabled radio button in Netscape 7.0


sachin
03-11-2003, 01:20 PM
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="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>

requestcode
03-11-2003, 01:42 PM
I tested it in NS7.01 and it still shows the radio button checked. What version of NS7 are you using?

sachin
03-11-2003, 01:46 PM
I am using Netscape 7.0(Mozilla/5.0(Windows.. etc))