How to create another page on clicking the submit button? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to create another page on clicking the submit button?

in this code.. https://code.sololearn.com/WXDyKNS7MMI5/?ref=app

7th Mar 2018, 8:18 AM
JACOB RANJIT
JACOB RANJIT - avatar
4 Answers
+ 25
try this : <form action="http://sololearn.com"> <input type="submit" value="Sololearn" /> </form>
7th Mar 2018, 8:37 AM
Youssef Ouamou
Youssef Ouamou - avatar
+ 2
there are two ways to open another page by clicking the submit button 1st one is create an anchor tag give a name as Submit then add the href to page u want to open use a little bit css that the anchor will look like button 2nd one is use javascript or jQuery to open the specific page you want to open
7th Mar 2018, 11:11 AM
Aditya Narayan Mishra
Aditya  Narayan Mishra - avatar
+ 2
code plzz
9th Mar 2018, 6:31 AM
JACOB RANJIT
JACOB RANJIT - avatar
9th Mar 2018, 2:39 PM
Adilet
Adilet - avatar