![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: May 2005
Posts: 8
Rep Power: 0
![]() |
Button1_Click Event
Can anyone guide me for writing code in asp/vbscript for the folling:-
If clicked on button another page should open. |
|
|
|
|
|
#2 |
|
Professional Programmer
Join Date: Mar 2005
Location: Student of University of Mumbai, Maharashtra State, India
Posts: 344
Rep Power: 4
![]() |
You can use the Response.Redirect(URL) method of ASP to direct to another page. Also, for this, you would need to specify that page (containing the button) as an ASP page for the scripts to be understood at the server.Usually this should be used with parameters in the form (more in processing input data)
Also, for doing it through VBScript, I think, you wud need to write a subroutine and provide a static link using document.write("<a href="link">textgoeshere</a>") and/or use the meta tag in the page and automatically redirect ot that page(figure this out know-how!). And the subroutine in which you are writing the above script should be called on the click of the button.
__________________
Visit: http://www.somaiya.edu Last edited by java_roshan; Nov 19th, 2005 at 5:57 AM. Reason: Some minute Changes! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|