Hi All.
I am trying to pass values from one document to another one. So I created a frame to able to pass the value.
The problem is that Javascript runs without error messages but the field "criticidad" is still empty. We have added alert to see the value and they are correct, but field "criticidad" continues empty.
Do you have any idea?
function getCriticidad(){
if (parent.frames.length >1)
{
parent.frames["ResultFrame"].document.forms[0].criticidad.value=
parent.frames["QueryFrame"].document.forms[0].criticidad.value;
alert(parent.frames["QueryFrame"].document.forms[0].criticidad.value);
alert(parent.frames["ResultFrame"].document.forms[0].criticidad.value);
}
}
Any help would be appreciate.
I am trying to pass values from one document to another one. So I created a frame to able to pass the value.
The problem is that Javascript runs without error messages but the field "criticidad" is still empty. We have added alert to see the value and they are correct, but field "criticidad" continues empty.
Do you have any idea?
function getCriticidad(){
if (parent.frames.length >1)
{
parent.frames["ResultFrame"].document.forms[0].criticidad.value=
parent.frames["QueryFrame"].document.forms[0].criticidad.value;
alert(parent.frames["QueryFrame"].document.forms[0].criticidad.value);
alert(parent.frames["ResultFrame"].document.forms[0].criticidad.value);
}
}
Any help would be appreciate.