[Javascript] Form name?

Anthony anthony at dreamware.com.au
Thu Jun 21 09:30:37 CDT 2001


I have a Java function that modifies a combo box but i wish to chnage the
name of the form accessed? How do i chnage the form that is accessed? I wish
to use the variable frm to specify the form name?

The below function doesn't appear to work!


function changeCategory(frm) {
  Category = document.('mainform' + frm).Category;  ?????

eg forms are

mainform123
mainform233
mainform779





More information about the Javascript mailing list