By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,162 Members | 1,066 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,162 IT Pros & Developers. It's quick & easy.

ASP.NET Page gives error when used below javascript

P: 10
I am using below javascript
Expand|Select|Wrap|Line Numbers
  1. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6/jquery.min.js"></script>
  2.  
  3. <script type="text/javascript">
  4.     $(window).load(function () {
  5.         $("#pageloaddiv").fadeOut(2000);
  6.     });
  7. </script>
  8.  
To show loading image and hide when page loads but it gives error.
Line: 3
Error: Unable to get value of the property 'appendChild': object is null or undefined

The same page works well on chrome and fire fox
Where i am wrong
Please Help
Jul 13 '14 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.