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:

  1. how can i get the value of a custom field?

    Reply Delete

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