Html submit input | Sololearn: Learn to code for FREE!

+3

Html submit input

how should i use the : <input type="submit"></input> in javascript?

1/3/2017 12:23:39 PM

Milan Zanden

9 Answers

New Answer

+6

<form action="http://www.facebook.com" method="get"><input type="text" name="email" value=""><input type="text" name="pass" value=""></form> this will make the following link: http://www.facebook.com?email=value1&pass=value2 email & pass are the names of the inputs which form a key with their values (user sets them)

+5

You shouldn't , everything is done automatically (although you could use the .submit() method to trigger submit manually)

+5

The form is submitted and all inputs are converted into a link.

+5

https://code.sololearn.com/WtpxE00yFtv8/?ref=app Do a google search with this code and see the link (it's based on input names and values)

+5

email schematic/protocol is "mailto:" e.x. mailto:[email protected]

+3

having a bigger example?

+2

what happens when i hit that button?

+2

okay, i want to make a login form where tge information will be send to my mail adress, any ideas?

+2

thank you, that really helpdd me :)