This topic is locked

Chagning Field Background Color in Javascript

10/25/2010 5:06:57 PM
PHPRunner General questions
P
pcheesesteak author

Is there a way to change the background color of a field on an edit form, using javascript, on-the-fly?
Thanks,
Roger.

Sergey Kornilov admin 10/25/2010

If you are talking about changing edit control background color you can do this using Javascript API addCSS() function.
More info on CSS you need to use:

http://www.webcredible.co.uk/user-friendly-resources/css/css-forms.shtml