How to get related list records count using on click javascript?
For example contact is a related list in account detail page.A custom button is there in account detail page.If I click it,I want to know how many contacts are associated with that account.
The sample code is given below.
For example contact is a related list in account detail page.A custom button is there in account detail page.If I click it,I want to know how many contacts are associated with that account.
The sample code is given below.