<title> Achieve Red </title>
<script type= "Text/javascript" >
function Edit_save (value1) {
for (Var i=1;i<4;i++) {
if (value1==1)
document.getElementById (' input ' +i). disabled= "";
Else
document.getElementById (' input ' +i). disabled= "None";
}
}
function Blurtest (inputtag,value1) {
var newvalue = document.getElementById (Inputtag). value;
if (Value1!=newvalue) {
document.getElementById (inputtag). Style.color = ' #ff0000 ';
}else{
document.getElementById (inputtag). Style.color = ' #000000 ';
}
}
</script>
<body>
<table border= ' 0 ' width = "$" align= "center" >
<tr>
<td><input id= "INPUT1" type= "text" value= "A" disabled= "true" onblur= "blurtest (' input1 ', ' a ')" ></input ><td>
<td><input id= "Input2" type= "text" value= "B" disabled= "true" onblur= "blurtest (' Input2 ', ' B ')" ></input ><td>
<td><input id= "INPUT3" type= "text" value= "C" disabled= "true" onblur= "blurtest (' input3 ', ' C ')" ></input ><td>
<td><input type= "button" onclick= "Edit_save (' 1 ')" value= "edit" ></td>
<td><input type= "button" onclick= "Edit_save (' 2 ')" value= "Save" ></td>
</tr>
<table>
</body>
The JavaScript implementation modifies the input box and then marks the red