Hi,
I have one jsp page in which i am using dynamicform to create the forms.. I have 2 forms. I want to pass the formname to one javascript function and using that name i want to use the methods provided by that form.
Note that in your dochange() method you are receiving a string holding the name of a form. Then you try to use this string as if it is a form instance. An easy change is to pass the form instance by removing the quotes from ‘temp’ which then references the global form object named temp.