}
if(inputElements[i].type == "hidden")
{
msg.push(inputElements[i].value);
}
}
PageMethods.UpdateText(msg[0], msg, msg, onSuccess);
hideElements(inputElements,"text");
}
function onSuccess(response)
{
}
function showElements(list, tagName,type)
{
for(i = 0;i < list.length; i++)
{
if(isTypeOf(list[i],"text"))
{
list[i].disabled = false;
list[i].focus();
//list[i].select();
}
}
}
function isTypeOf(obj,type)
{
return obj.type == type;
}
function hideElements(list, type)
{
for(i = 0; i < list.length;i++)
{
if(isTypeOf(list[i],type))
{
list[i].disabled = true;
}
}
}
function getElementsByTagName(obj,tagName)
{
return obj.getElementsByTagName(tagName);
}
</scr