Dynamically change the name of a tab
From here: http://dmcrm.blogspot.com/2008/06/dynamically-changing-name-of-tab.html
Sets tab 4 name to name of primary contact:
var title = crmForm.all.primarycontactid.DataValue;
if(title != null)
{
document.all.tab4Tab.innerText = title[0].name;
}
Sets tab 4 name to name of primary contact:
var title = crmForm.all.primarycontactid.DataValue;
if(title != null)
{
document.all.tab4Tab.innerText = title[0].name;
}

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home