Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('#form span').on('click', function(e){
- e.preventDefault();
- $('#form').submit();
- });
- //Clear the form on submit
- $('form').on('submit', function(){
- $('form input[type="text"], form input[type="password"]').val('');
- });
- #form input[type="submit"]{
- pointer-events: none;
- }
Add Comment
Please, Sign In to add comment