Answers for "html form submit alert"

0

how to run js before submit html

<form onsubmit="return do_something()">

function do_something(){
   // Do your stuff here
   return true; // submit the form

   return false; // don't submit the form
}
Posted by: Guest on July-22-2020
0

how to run js before submit html

<form onsubmit="return do_something()">

function do_something(){
   // Do your stuff here
   return true; // submit the form

   return false; // don't submit the form
}
Posted by: Guest on July-22-2020
0

html submit alert

confirm("QUESTION")

<!-- This makes a alert with QUESTION on it
     but here you have the joice to decline it.
   
     if you decline it it returns : False
     if you submite ist it returns : True-->
Posted by: Guest on April-30-2021
0

html submit alert

confirm("QUESTION")

<!-- This makes a alert with QUESTION on it
     but here you have the joice to decline it.
   
     if you decline it it returns : False
     if you submite ist it returns : True-->
Posted by: Guest on April-30-2021

Browse Popular Code Answers by Language