p; if(isTextBox(inputElements[i]))
{
inputElements[i].disabled = true;
}
}
}
function isTextBox(obj)
{
return obj.type == ''text'';
}
function editMode(obj)
{
var rowObject = obj.parentElement.parentElement;
var inputElements = getElementsByTagName(rowObject,"INPUT");
if(obj.checked)
{
showElements(inputElements,"INPUT","text");
}
else
{
hideElements(inputElements,"text");
}
}
function updateMode(obj)
{
var rowObject = obj.parentElement.parentElement;
var inputElements = getElementsByTagName(rowObject,"INPUT");
var msg = new Array();
for(var i=0;i<inputElements.length;i++)
{
if(inputElements[i].type == "checkbox")
{
inputElements[i].checked = false;
}
if(inputElements[i].type == "text")
{
msg.push(inputElements[i].value);