Geeks With Blogs

News

Dave Noderer's Blog South Florida does .NET! javascript
Javascript Loading gif and logic
When using ajax to load data from the server it is useful to display a “loading” animation to let the user know that something is happening. These bits of code and this gif spinner will do the trick! you can find a number of alternative spinners or make your own! Position the following div wherever you want it on your page. Then in javascript turn it on when loading the page and when re-fetching data (say after filtering): $("#loading").css({ 'visibility': 'visible' }); Then turn it off on either ......

Posted On Monday, November 17, 2014 9:11 PM

javascript getMonth() gets me!

I’ve been working a lot with Microsoft CRM over the past few months and much of the screen level customization uses javascript.

One thing I discovered today while breaking apart some dates was that the javascript getDate() returns the day of the month 1-31 as you would expect but the getMonth() returns 0-11… definitely not what I expected!!

Posted On Tuesday, May 11, 2010 3:00 PM

Copyright © Dave Noderer | Powered by: GeeksWithBlogs.net | Join free