I've got a form that highlights input fields by adding an in-line style to the input in the form of a background colour:
Code: Select all
controls.ADDRESS1.setEditorStyle("background-color:#FEB3B3;");
What I would like to do, but can't seem to, is to clear the background colour on a button click event. I've tried the following (individually):
Code: Select all
controls.ADDRESS1.setEditorStyle("background-color:transparent;");
controls.ADDRESS1.setEditorStyle("background-color:initial;");
controls.ADDRESS1.setEditorStyle("background-color:#FFFFFF;");
Any help in clearing this applied background would be appreciated.
Thanks
Tom