Thursday, 9 August 2012

Get and Set control disabled using javascript in CRM 2011

In this article , I am going to explain how to get and set control disable

Get disable control
var isdisable = Xrm.Page.ui.controls.get("attributename").getDisabled();
True value shows disable field

Set control disable
Xrm.Page.ui.controls.get("attributename").setDisabled(true);


1 comment:

Note: only a member of this blog may post a comment.