daily pastebin goal
67%
SHARE
TWEET

Untitled

a guest May 22nd, 2018 15 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $('#form span').on('click', function(e){
  2.   e.preventDefault();
  3.   $('#form').submit();
  4. });
  5.  
  6.  
  7. //Clear the form on submit
  8. $('form').on('submit', function(){
  9.   $('form input[type="text"], form input[type="password"]').val('');
  10. });
  11.  
  12. #form input[type="submit"]{
  13.   pointer-events: none;
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top