Calling 2 separate ASP Pages

Results 1 to 2 of 2

Thread: Calling 2 separate ASP Pages

  1. #1
    Swarnedu Banerjee Guest

    Default Calling 2 separate ASP Pages

    Hi Guys,<BR>I have a problem.If suppose in a Form(within a ASP) I have 2 buttons - What I want is how to call 2 different ASP pages when clicking the individual buttons.But care should be taken that I also need the information in the parent form(ASP) in both the cases.........<BR>Thanx

  2. #2
    Join Date
    Dec 1969

    Default An Idea

    Just a thought, I would use javascript to do this. Use an onClick command that calls a function. That function will change the action to the appropriate place. Here is an example but I haven&#039t tested it and it is not totally correct. If you know some javascript you should be able to place it:<BR><BR>function change1()<BR>{<BR>document.myform.action="page.asp "<BR>}<BR>function change2()<BR>{<BR>document.myform.action=" p"<BR>}<BR>&#060;/script&#062;<BR>&#060;input type=submit onClick="change1()"&#062;<BR>&#060;input type=submit onClick="change2()"&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts