I had a coding problem today, I was doing some validation in Javascript and then wanted to set the focus on the area. You can also use this code on the page load if you want to set a default field to start with
var control = Xrm.Page.ui.controls.get(“AttributeName”);
control.setFocus();
Advertisement



Posted on May 19, 2011
0