Sometimes u need to display some extra information on click of a custom button in a standard salesforce button but a simple javascript alert wouldnt serve the purpose. In some scenarios you need to display some visualforce page and perform some operations . In many scenarios this custom popup modal window will come to your rescue ! To create this pop first create a custom button. For this example I am going to create a custom button opportunity Go to "Opportunities"------>"Buttons, Links, and Actions". Click on "New Button or Link" Type in the label and description for the button For " Display Type " choose "Detail Page Button" For "Behavior" choose "Execute Javascript" For "Content Source" choose "OnClickJavascript" In the code section paste the following code. {! REQUIRESCRIPT(" https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js ")} function show...
Thoughts on Application development on salesforce platform