"тнιѕ вℓσg ¢συℓ∂ ѕανє уσυя мσηєу ιƒ тιмє = мσηєу" - ∂.мαηנαℓу

Wednesday 30 October 2013

How to Set Focus on a Control in CRM 2013 using javascript

How to Set Focus on a Control in CRM 2013 using javascript
Syntax:
Xrm.Page.getControl(arg).setFocus()

For instance,
Xrm.Page.getControl("creditlimit").setFocus();
Where creditlimit is the field name

1 comment:

  1. This works fine with Fields or Tabs but wont work with Sections or Subgrids !

    ReplyDelete