Form Buttons

They have: 24 posts

Joined: Jan 2000

How do you make form buttons link to another page when you click on them?

Justin S's picture

They have: 2,076 posts

Joined: Jun 1999

code:

<form action="url goes here">[/code]

So all you do is include the action=url into the form tag, and then when the button is clicked it will take you to that url...

------------------
FireBurn Web Publishing: http://www.fireburn.com
Get paid to be ONLINE: http://www.getpaid4.com

[This message has been edited by Justin Stayton (edited 09 January 2000).] 

They have: 99 posts

Joined: May 1999

You can as the previous response indicated use forms to do what you request...that assumes that the buttons are "submit" buttons and that you only have one button per form.
Another approach is just to use standard "pushbuttons" and set an onclick event that calls a javascript function. Then just set the Javascript funcion to load new document.locations to the appropriate frames or pages.

[This message has been edited by tazman (edited 09 January 2000).]

They have: 24 posts

Joined: Jan 2000

Thanks, thats really helpfull

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.