how to make a website to go to other website?(while we use a login program and submit...that is <input type- "submit" ) | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

how to make a website to go to other website?(while we use a login program and submit...that is <input type- "submit" )

if the user clicks submit it should go to a particular website that i program

26th May 2017, 9:52 AM
Lakshay Kumar
Lakshay Kumar - avatar
2 ответов
+ 12
<!-- HTML solution --> <form action = "yourwebsite"> <input type = "submit"> </form> // JS solution (harder, you can use the other one) document.getElementsByTagName("form")[0].onsubmit = function ( ) { window.open("yourwebsite") }
26th May 2017, 9:56 AM
Maz
Maz - avatar
+ 3
see youtube....in that u can get clear step by step process.....bro
26th May 2017, 10:12 AM
ARAVIND BALAJI
ARAVIND BALAJI - avatar