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

commandlinks color

In My pageblock table 5 rows.. 1st field is a commandlinks[1,2,3,4 and 5 values]..


If i click 1 means , 1 will be highlighted red color, other numbers 2,3,4,5 are asusual color,

click 2 means , 2 will be change red color , other numbers are 1,3,4,5 are asusual color,

cick 3 , means ,......

click 4 means .........

click 5 means ......



Have onclick event on the links. pass current value's id in the JS function. getelementById in that and change its color in JS.