Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8798809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:10:42+00:00 2026-06-14T00:10:42+00:00

I am trying to access the input elements in the dialog box from a

  • 0

I am trying to access the input elements in the dialog box from a jquery script places in the main page(background), but I am unable to do so. This dialog box pops up when I doubleclick on the Billing address field in the main page.

PLease let me know on how to access the form elements in the dialogbox from the main page?

Edited:

Actually when the contact page detail page is loaded, you wouldn’t find a field with the id con19country, but only after you double click the mail address this field becomes available in the DOM. Also the div(id=InlineEditDialog) that holds the fields that becomes visible when double clicked on mailing address is also grayed out in the HTML. Check the image here : https://i.stack.imgur.com/7cdd4.jpg

Edited again:

I was able to access the dialog box finally..

    j$("[id*=_ilecell]").bind('dblclick', function(){
        var elementID = j$(this).attr('id');
        if (!sfdcPage.editMode)
        sfdcPage.activateInlineEditMode();

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

You can also refer this blog for further help: http://blog.force365.com/2012/07/30/ui-tips-and-tricks-country-list/

Regards
Sam

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T00:10:42+00:00Added an answer on June 14, 2026 at 12:10 am

    You can easily use Firebug (or any other developer tools) in the browser of your choice to learn these.

    In this example BillingStreet can be obtained by $('#acc17street').html()

    firebug example

    But fear not, there are compiled lists of known standard field Ids. Scroll a bit for example here: http://phollaio.tumblr.com/post/22058016777/how-to-obtain-a-field-id and consider leaving a nice comment for this guy so it doesn’t look like I stole his hard work in this question giving nothing in return 😉


    EDIT 🙂 What exacly are you after? Do you want to capture the content of this box? Or address details in general? Or do something after OK is clicked? I think you’d have to inspect functions visible when you hover over the address field.

    <td 
    onmouseover="if (window.sfdcPage && window.sfdcPage.hasRun) sfdcPage.mouseOverField(event, this);" 
    onmouseout="if (window.sfdcPage && window.sfdcPage.hasRun) sfdcPage.mouseOutField(event, this);" 
    onfocus="if (window.sfdcPage && window.sfdcPage.hasRun) sfdcPage.mouseOverField(event, this);" 
    ondblclick="if (window.sfdcPage && window.sfdcPage.hasRun) sfdcPage.dblClickField(event, this);" 
    onclick="if (window.sfdcPage && window.sfdcPage.hasRun) sfdcPage.clickField(event, this);" 
    onblur="if (window.sfdcPage && window.sfdcPage.hasRun) sfdcPage.mouseOutField(event, this);" id="con19_ilecell"
    class="dataCol col02 inlineEditWrite">
        <div id="con19_ileinner">2335 N. Michigan Avenue, Suite 1500<br>Chicago, IL 60601, USA<br> </div>
    </td>
    

    Try to find definition of this sfdcPage and if you can override some of the functions with “whatever they were doing originally + your behavior”? It’s an object constructed from prototype called DetailPage and you can find the definition in /jslibrary/(some timestamp)/sfdc/main.js

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to access a Servlet from a button on HTML page //Html Page FORM
I am trying to access HTML elements by their id from an array of
Trying to access file attributes from an input field after a file is selected.
Using VB.NET with ASP.NET and and ms-access 2003 data, I'm trying to input data
When trying to access the database, I am unable to access the column. I
I am trying to access all the data from database listOfFolder table folder and
I'm trying to add control to the ASP.NET page. Controls are added successfully but
When trying to access the addprod.jsp page, the following error occurs: org.apache.jasper.JasperException: An exception
I am trying to access an InputMethodService from an Activity , and I am
I'm trying to use jQuery to access a DOM object that appears earlier in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.