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
anil kumar 151anil kumar 151 

How to Gray out a "button which is replaced with a image" in VF Page..???

I mean i have replaced button with an image..and since the disable option working with the normal button and the same funtionalty(disabling the funtionality of calling the method) working with image too but the image is not disabling/grayout from the VF Page
Ashwin Kumar SrinivasanAshwin Kumar Srinivasan
Try using two different images (one grayed out) and render it based on your needs.
sandeep sankhlasandeep sankhla
Hi Anil,

Yes you can use 2 different images...you can toggle those images simply using javascript and css...

Thanks,
Sandeep