?
Solved

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

Posted on 2011-03-09
2
Medium Priority
?
299 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 2000 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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

649 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