My api function (getElementById) is absolutely correct . But this is not setting the property :
- Code: Select all
elements.XXXXXl_1.getElementById('btnNew').enabled = false;
But this is working fine :
- Code: Select all
elements.XXXXXXXX_2.menuItems[0].enabled = false;
Please provide some suggestions . How can we set the property using the api call ?