SHARE
TWEET

Untitled

a guest Jun 19th, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function showloading()
  2. {
  3.     $('input[required="required"]').each(function(){
  4.         if( $(this).val() == "" ){
  5.           alert('Please fill all the fields');
  6.             return false;
  7.         }
  8.     });
  9.     window.scrollTo(0,0);
  10.     var x = Math.floor((Math.random() * 10) + 1);
  11.     $("#loading-"+x).show(1000);
  12. }
  13.      
  14. return false;
  15.      
  16. window.scrollTo(0,0);
  17. var x = Math.floor((Math.random() * 10) + 1);
  18. $("#loading-"+x).show(1000);
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top