Hi Folks,
How do I make an inputtext readOnly using javascript?
I have tried the following
var textComp = AdfPage.PAGE.findComponent("textId");
textComp.setProperty('readOnly', 'true');
var textComp = AdfPage.PAGE.findComponent("textId");
textComp.readOnly = true;
var textComp = AdfPage.PAGE.findComponent("textId");
textComp.setAttribute('readOnly', 'true');
None of the above works. Any idea?
Thanks
Vishal