Category: APEX JAVASCRIPT

Apex from Custom button or Javascript : Ajax toolkit

Controller:

To call a webService method with no parameters, use {} as the third parameter for sforce.apex.execute . Favorite

Read more