Solved

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

Posted on 2011-03-09
2
291 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
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This video teaches users how to migrate an existing Wordpress website to a new domain.

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now