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
Usha TDUsha TD 

How we can Call apex class from java script button

My Requirement is  i want to create a detail page button and pass the current account number and create the new account with reference existing account
Amit Chaudhary 8Amit Chaudhary 8
Please check below post for same
1) https://developer.salesforce.com/docs/atlas.en-us.workbook.meta/workbook/button_1.htm

HOW TO CREATE A BUTTON THAT AUTO-FILLS IN FIELD ON A NEW RECORD
1) http://kell.screenstepslive.com/s/knowledgebase/m/16056/l/163679-how-to-create-a-button-that-auto-fills-in-field-on-a-new-record

Please let us know if this will help you