2.0.1 - Input Field Attributes
var obj = new AW.UI.Input; obj.setId("obj"); obj.setClass("text", "normal"); obj.getContent("box/text").setAttribute("readonly", true); obj.getContent("box/text").setStyle("color", "#808080"); obj.setControlText("test");
However, if I add the following as the next line, it all works just as it should.
I was hoping that showing the code would allow me to see where the problem is but again, it works when I add the alert and the code in the alert all shows up just fine. Any ideas on things I can try to make it work without the alert?
My work around at the moment is to add the following after my setControlText entry which doesn't create a popup but fixes the problem. I'd like a better answer however if possible.