i have many forms and when i want get some form values i cant do that:
function updateForm(id)
{
.....
document.forms.id;
.....
}
in this function i pass id parameter which form i must process, but there is no allowed document.forms.id construction, because id is variable. How can i get right form through variable?
function updateForm(id)
{
.....
document.forms.id;
.....
}
in this function i pass id parameter which form i must process, but there is no allowed document.forms.id construction, because id is variable. How can i get right form through variable?