Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function showloading()
- {
- $('input[required="required"]').each(function(){
- if( $(this).val() == "" ){
- alert('Please fill all the fields');
- return false;
- }
- });
- window.scrollTo(0,0);
- var x = Math.floor((Math.random() * 10) + 1);
- $("#loading-"+x).show(1000);
- }
- return false;
- window.scrollTo(0,0);
- var x = Math.floor((Math.random() * 10) + 1);
- $("#loading-"+x).show(1000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement