Play Games

Search This Blog

Showing posts with label How to get related list records count using on click javascript?. Show all posts
Showing posts with label How to get related list records count using on click javascript?. Show all posts

Monday, November 18, 2013

How to get related list records count using on click javascript?

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.