CRM 2011 JS: Get the label name of the attribute in CRM 2011

// This is how to Get the label name of the attribute  in CRM 2011

 

//Get attribute label name

var label = Xrm.Page.getControl("atrributename").getLabel();