5. November 2009 18:18
function OnCrmPageLoad()
{
ReArangeTabIndex();
}
function ReArangeTabIndex()
{
for( var i = 0 ; i < crmForm.all.length ; i++ )
{
var element = crmForm.all[ i ];
if (element.tabIndex)
{
if (element.className == "ms-crm-Hidden-NoBehavior" || element.tagName == "A")
{
continue;
}
element.tabIndex = 1000 + (i*10);
}
}
}