Home SALESFORCEAPEX Lookup button in Visualforce Page
Example 1:
 

Example 2:
Apex Class:
public class con {
    public contact c { get; set; }
    public con() {
        c = new contact();
    }
    public void search() {
        // c.accountid has the selected ID.
    }
}
VisualForce Page:

  
    
      
         
      

   

  

You may also like

Leave a Comment