function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NavneethNavneeth 

Change the button color in case of any record is edited

Hi , 

 

 I have 2 buttons button 1 and button 2. Each of the button has its own page with its sets of field.  Now my requirement goes as belows.

 

If i edit a field value in button 1 's  page and then i click button 2 to navigate , then the color of the button 1 should be changed to yellow which will indicate me that some field value in the page which is associated with button 2 has been edited

 

How do i achieve this ?

Yoganand GadekarYoganand Gadekar

You can use style/style class for this,

For example:

style="Color:red;"

 

Or style class ="yourclassname"

 

.styleclassname{

color:red;

}

 

Thanks,