Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. function checkForm(form) {
  2. form.submit.disabled = true;
  3. form.submit.innerText = "Please wait...";
  4. return true;
  5. }
  6.  
  7. // On form add this code: <form onsubmit="return checkForm(this)"></form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement