Guest User

Untitled

a guest
Aug 19th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. <form action="...">
  2. <input type="text" required>
  3. <button>Submit</button>
  4. </form>
  5.  
  6. $("button").click (function(){
  7. // Display a loading gif;
  8. });
  9.  
  10. $("button").click (function(){
  11. if (all required fields are complete) {
  12. // Display a loading gif;
  13. }
  14. });
Add Comment
Please, Sign In to add comment