Print Page | Close Window

forms problem

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=6801
Printed Date: 31 March 2026 at 3:06pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: forms problem
Posted By: brolinuk
Subject: forms problem
Date Posted: 28 October 2003 at 8:38pm

How would I enable the button to have a hyperlink in a form. For example, in the form of the login, I got one button as

<input type="submit" name="login" value="Login">

and I wanna the other button to link to other pages for registration. How can I make it work? thanks




Replies:
Posted By: zaboss
Date Posted: 28 October 2003 at 11:06pm

  <script>
function leapTo1(){
window.open('yourpage.asp', target ='_self')
}
</script>

And wherever you want, just place the code below

<INPUT type="button" onclick="leapTo1();" value="Register!">



-------------
Cristian Banu
http://www.soft4web.ro - Soft 4 web



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net