Y
Y
yetnoob2017-07-06 13:53:36
JavaScript
yetnoob, 2017-07-06 13:53:36

How can I make the form submit button, when clicked, also take me to the "thank you for your purchase" page?

actually, subject :)
thanks if you help

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vladimir, 2017-07-06
@djQuery

Please provide a section of code with a form (may be incomplete) and a submit button (i.e. from <form>to </form>)

A
Alex Kyznetsov, 2017-07-06
@360157

try

S
sazhyk, 2017-07-06
@sazhyk

<form action="thankyou.html">
    <!-- do something -->
</form>

not?

R
RomanPrivalov, 2017-07-06
@RomanPrivalov

In the button click event handler
window.location.href = 'укажите свою ссылку';

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question