Solved

How do I redirect to an html page from a form submission?

Posted on 2011-03-09
2
295 Views
Last Modified: 2013-12-25
Hey again experts!

Okay, I have a PLACEHOLDER form so that a client can look at a design and see how it will work. It's just cosmetic, I DON'T want to actually submit any information -- all I want to do is sent the visitor to an html page when s/he hits "submit" -- regardless of what's in the form.

Simple, right?  :-)

Points for speeeeed! Thanks.
0
Comment
Question by:amateur6
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
JF0 earned 500 total points
ID: 35088098
           <label>submit
                  <input type="button" name="button1" id="button1" value="Button" onclick="document.location = 'http://www.google.com';" />
            </label>
0
 
LVL 1

Author Closing Comment

by:amateur6
ID: 35088332
GENIUS. And so freakin' simple. I love it. Cheers!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Although a lot of people devote their energy toward marketing for specific industries, there are some basic principles that can be applied to any sector imaginable. We’ll look at four steps to take and examine how those steps were put into action fo…
The viewer will learn how to dynamically set the form action using jQuery.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question