Salesforce: Accessing Field label of object in VisualForce page

In VFPage one can directly access the label of any particular field of sObject. In future if the label is changed in the sObject, same will be reflected in the VFPage.

For Example:

<apex:column title=”{!$ObjectType.OpportunityLineItem.fields.Quantity.label}” headerValue=”{!$ObjectType.OpportunityLineItem.fields.Quantity.label}” width=”50px”>

It also avoids hard-coded labels and make it more flexible.

Error: ‘google’ is undefined in IE8

While using the Google Api forOrg chart generation I came across the error “‘google’ is undefined” when i was testing it in IE 8 browser. The same code was working fine in Mozilla FireFox . Google the error was not able to find solution.  After lots of searching fixed it by doing a small one character change in the URL. Can you guys guess what would be that?

<script type=”text/javascript” src=”http://www.google.com/jsapi”></script>

with

<script type=”text/javascript” src=”https://www.google.com/jsapi”></script>

Its really frustrating. Dont know this is the solution for this or not. But it worked for me!!