Change the color of button

Hi All, I need to change my Save button of a pop-up newedit page, If the text-boxes are empty save button should be red colored or else green color Please guide me Thanks  Salauddin
1 answers

You can try using visibility. You copy the save buttons and put them next to each other. 

On the first button you place a visibility that is visible when the object is empty and the other when the object is not empty. 

I don't know if you want this to be synchronous with the page you are on, but if so you should try this with a javascript snippet that checks if the object is filled.