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
Mary Pamishetty 3Mary Pamishetty 3 

custom button with javascript

How can use custom button with javascript on visual force page.
I've used below code but I'm getting 'URL No Longer Exists  <apex:commandbutton value=" Process" action="{!URLFOR($Action.Lead.Begin__Process,Lead.id)}"/>

 
Rohit B ☁Rohit B ☁
If you are referring custom button then you need to apply __c in the api name. You should use Begin__Process__c.