Click here to Skip to main content
15,893,622 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have applied below javascript for left to right tab index in Dynamics CRM 2013 in Web resource , which works for IE but does not work for Chrome and Firefox.

JavaScript
 function TabOrderLefttoRight() {
   for(var i = 0; i < Xrm.Page.ui.controls.getLength(); i++) 
   {  
       var element = Xrm.Page.ui.controls.get(i);
        if (element.tabIndex && element.tabIndex != "0") {
            if (element.className == 'ms-crm-Hidden-NoBehavior') 
                continue;
            if (element.tagName == 'A') {
                if (element.className != 'ms-crm-InlineTabHeaderText') 
                    continue;
            }
           element.tabIndex = 1000 + (i * 10);
        }
    }
}


Please help.

Thank You.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900