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
salesforcequestions123salesforcequestions123 

Highlighting Visual force page button

Hi I have 6 buttons on my visualforce page Now when I click first button it should get higlighted in colour like wise when i click other buttons they should get highlighted how can i do that
Sfdc11Sfdc11

In apex:commandbutton  use 'onmouseover' attribute and invoke a javasciptfunction,In which specify the background color of the button.Hope this helps.

SFFSFF
Don't forget to change the background color of the OTHER buttons back to the standard color in this javascript ... and a little CSS would probably help here as well.
salesforcequestions123salesforcequestions123
Can U give sample code because i am new bie in javascript