Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form action="...">
- <input type="text" required>
- <button>Submit</button>
- </form>
- $("button").click (function(){
- // Display a loading gif;
- });
- $("button").click (function(){
- if (all required fields are complete) {
- // Display a loading gif;
- }
- });
Add Comment
Please, Sign In to add comment