Menu
hi!
i got a hidden field : [COLOR=green]<html:hidden property=”addThisUser2Group” value=””/>
and i want to set the value of this field to “userArray”
[COLOR=green]<html:form action=”jsp/addUser2Group.do” focus=”username” onsubmit=”getThisUsers();”>
this is my getThisUsers() function:
[COLOR=green]function getThisUsers()
{
var userArray = top.parent.foundUsers.getUsers2AddJS();
document.addThisUser2Group.value = userArray;
}
it just shows me all the time this error: ‘document.returnedUser.addThisUser2Group.value’is null or not an object
can somebody tell me what i am doing wrong?
thank you for your help!