- Is it possible to have a form executed by Javascript? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

- Is it possible to have a form executed by Javascript?

.

30th Jun 2017, 1:40 AM
Teresa Rodriguez
Teresa Rodriguez - avatar
2 Réponses
+ 2
u need use that tag, for example! <body> for example... <form action=""> <input type="text" id="variable"> <p><input type="button" value="nombre" onclick="function()" ></p> </form> </body>
3rd Jul 2017, 2:18 AM
Christian Navarro
Christian Navarro - avatar
+ 1
If, for example, you simply pass the form identifier to the javascript function and apply the "submit" command to execute that form.
30th Jun 2017, 1:49 AM
Brigitte Uzcategui
Brigitte Uzcategui - avatar