<HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--function radio1_onclick() {
if (radio1.checked )
{
text1.readOnly = false;
text2.readOnly = true;
}else
{
text1.readOnly = false;
text2.readOnly = false;
}
}function radio2_onclick() {
if (radio2.checked )
{
text2.readOnly = false;
text1.readOnly = true;
}else
{
text1.readOnly = false;
text2.readOnly = false;
}
}//-->
</SCRIPT>
</HEAD>
<BODY>
<table>
<tr>
<td><INPUT id=radio1 type=radio name=ra LANGUAGE=javascript onclick="return radio1_onclick()"></td><td><INPUT id=text1 name=text1 readonly ></td>
</tr>
<tr>
<td><INPUT id=radio2 type=radio name=ra LANGUAGE=javascript onclick="return radio2_onclick()"></td><td><INPUT id=text2 name=text2 readonly></td>
</tr>
</table>
</BODY>
</HTML>
<HEAD>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<TITLE></TITLE>
<SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript>
<!--function radio1_onclick() {
if (radio1.checked )
{
text1.readOnly = false;
text2.readOnly = true;
}else
{
text1.readOnly = false;
text2.readOnly = false;
}
}function radio2_onclick() {
if (radio2.checked )
{
text2.readOnly = false;
text1.readOnly = true;
}else
{
text1.readOnly = false;
text2.readOnly = false;
}
}//-->
</SCRIPT>
</HEAD>
<BODY>
<table>
<tr>
<td><INPUT id=radio1 type=radio name=ra LANGUAGE=javascript onclick="return radio1_onclick()"></td><td><INPUT id=text1 name=text1 readonly ></td>
</tr>
<tr>
<td><INPUT id=radio2 type=radio name=ra LANGUAGE=javascript onclick="return radio2_onclick()"></td><td><INPUT id=text2 name=text2 readonly></td>
</tr>
</table>
</BODY>
</HTML>
<input id=zz2 disabled>
<input type= "radio" name= "r1" onclick= "this.form.file1.disabled = this.checked;" language= "javascript">disable <input type= "radio" name= "r1" onclick= "this.form.file1.disabled = !this.checked;" language="javascript">enable
<input type="text" name= "file1">
</form>