function changeOk()
{
if(document.getElementById("ok").readOnly == true)
{
document.getElementById("ok").readOnly = false;
document.getElementById("ok").style.backgroundColor = "White";
}
else
{
document.getElementById("ok").readOnly = true;
document.getElementById("ok").style.backgroundColor = "LightGrey";
}
}
注意:readOnly 中O要大写