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
dinesh jaindinesh jain 

How to create popup window in vf page like Billing Address in Account

I want to create a popup window on dblclick of an element and take some input through input fields. What JavaScript or JQuery should I use for this.

 

I am using code like following:-

 

$("p").bind('dblclick', function(){
        if (!sfdcPage.editMode)
        sfdcPage.activateInlineEditMode();

        if (!sfdcPage.inlineEditData.isCurrentField(sfdcPage.getFieldById(elementID)))
        sfdcPage.inlineEditData.openField(sfdcPage.getFieldById(elementID));
    });

 

 

But I'm not getting the methods of sfdcPage...plz help me

MotiMoti

I'am not sure i undestrand the problem but maybe this will help:

pages_best_practices_accessing_id