A
Alex Luya
I wan to use a function(blow) to set value for an elment of parent
window,and the id of this element is a combination of string
+variable,the question is how to contruct this id,when I create it as
blow,got an error:invalid assignment left-hand side(firebug) ,So can
anybody help me?
---------------------------------------------------------------------------------------------------------------------------------------
function setUser(index,id){
window.opener.document.EditView+".participant_id_"+index.value =
id;
window.close();
}
----------------------------------------------------------------------------------------------------------------------------------------
window,and the id of this element is a combination of string
+variable,the question is how to contruct this id,when I create it as
blow,got an error:invalid assignment left-hand side(firebug) ,So can
anybody help me?
---------------------------------------------------------------------------------------------------------------------------------------
function setUser(index,id){
window.opener.document.EditView+".participant_id_"+index.value =
id;
window.close();
}
----------------------------------------------------------------------------------------------------------------------------------------