After clicking submit nothing happens my page just gets reloaded instead of opening google.com | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

After clicking submit nothing happens my page just gets reloaded instead of opening google.com

16th Jul 2016, 9:03 AM
Sairam
Sairam - avatar
5 Answers
+ 2
Forms "job" is not to open other websites. For that, you can use links: <a href="google.com">Google</a>. Read more about what forms can do for you on the Internet.
16th Jul 2016, 4:33 PM
ZinC
ZinC - avatar
+ 2
add to form tag: action="http://google.com"
17th Jul 2016, 7:43 AM
Felipe Medeiros
Felipe Medeiros - avatar
+ 1
Thanks Zinc I thought "form action" tab is used to redirect to another website after clicking submit.
16th Jul 2016, 4:36 PM
Sairam
Sairam - avatar
- 3
.m.,x x.w . z-wave m.z mzmmxk.zw., no replace rotor.mmmmimo.mmxi
16th Jul 2016, 10:32 AM
Илья Иванов
Илья Иванов - avatar
- 4
,s ,,в кино на работе, ю .,в ,в ЧС ч,
16th Jul 2016, 10:31 AM
Илья Иванов
Илья Иванов - avatar