+ 1

How to create a link to another web if u clik maybe submit

maybe u r creating a web and u choose male radio if u click submit and if u want it take it somewhere u want

20th Dec 2016, 6:46 PM
Vincent Danielson
Vincent Danielson - avatar
2 Antworten
+ 5
put something like this in form <input type="submit" onsubmit="return func()"> <script> function func(){ if (document.getElementById("sex").value == "male"){ return true; }else{return false} </script>
20th Dec 2016, 8:04 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 3
<a href="https:\\www.example.com">exampletext</a>
20th Dec 2016, 7:19 PM
Lummos
Lummos - avatar