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
Sujit KarandeSujit Karande 

Button click event

Hello,
 I want to create a button click event. SO when  I click on a button, it should show me the data(Like Ownername, OrderNumber etc) from current opportunity. How should I do that. As I am new the salesforce. I dont know how should I proceed 
Jyotirmaya Rath 10Jyotirmaya Rath 10
{!REQUIRESCRIPT("/soap/ajax/25.0/connection.js")} 

alert('Id : ' + '{!Opportunity.Id}');
alert('Name : ' + '{!Opportunity.Name}'); 
alert('Owner Id : ' + '{!Opportunity.OwnerId}');