Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function checkForm(form) {
- form.submit.disabled = true;
- form.submit.innerText = "Please wait...";
- return true;
- }
- // On form add this code: <form onsubmit="return checkForm(this)"></form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement