morechocolate
Technical User
I have about 5 forms which are in their own ASP documents. What I would like to do is write a script that takes some action based on the name of the form.
Example:
Say I have
page1.asp with form named form1
page2.asp with form named form2
in page3.asp I want to set up routines for the page1.asp and page2.asp, but I am not sure how to reference the form names in page3.asp. I want to say select case form1 do this case form2 do that.
I know that document.form1 can be done within the same document as the form, but I am not sure how to reference the name when the form is contained within another document than the script.
Thanks for your help in advance.
Pam
Example:
Say I have
page1.asp with form named form1
page2.asp with form named form2
in page3.asp I want to set up routines for the page1.asp and page2.asp, but I am not sure how to reference the form names in page3.asp. I want to say select case form1 do this case form2 do that.
I know that document.form1 can be done within the same document as the form, but I am not sure how to reference the name when the form is contained within another document than the script.
Thanks for your help in advance.
Pam