Shame Code 2:

That misplaced comma in an object or array definition will cause an error in IE browsers, specially in IE 7 browsers, I know lots of people do not care about IE7 any more, but this is a very easy fix to make your code work in all different kinds of browsers, why not fix it?

How to fix it?
If a property setting is the last property in an object or array, make sure you have removed the comma ,.

Archives

Meta

Related Posts

When you upgrade you web site to SSL in SharePoint, you may need to consider re-configuring your search service to ensure it works well with the new URL with https. This article records the steps Read more…

When I had the requirement to check the authentication type via code in SharePoint, I did some quick search with Google, and found two main ways talked on internet. After played with both of them, Read more…