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
lakshman.mattilakshman.matti 

Fadeout custom button on standard page

Hi Everyone,

I have a problem with custom button on standard page.
i have created custom button in an object.which is used to create new record.it's working as expected.but i facing new problem which if i click multiple times on that button it's creating multiple records.i want to avoid clicking multple times of that button.i want to fadeout that button once i clikc on that button.(note: its a custom button on standard page)
i hope im clear with question.

Thanks
Lakshman
SonamSonam (Salesforce Developers) 
Can you please share the code of the custom button you have created so its easier to understand how you have built it.