How to target another element via Javascript (hand rendered control ID ID)

Hello

My version of jDeveloper is 11.1.1.9.0


I am aware of target an item via the clientListener tag. But who will give me a reference to the only element in which it was declared. What happens if I want to target another element on the page function is declared in jDeveloper ID? For example:

<af:inputText label="Label 1" clientComponent="true" id="it15"> /* what's declared in jDeveloper     */

Render in HTML as:

<input type="text" class="x25" name="r1:0:it15" id="r1:0:it15::content">

Notice how it15 converted to r1:0:it15. In doing so the following fails to get a reference to the element:

document.getElementById("it15"); // returns null
AdfPage.PAGE.findComponent("it15"); // returns undefined

This brings me to the following questions:

  1. Why ID does not change when the HTML is rendered?
  2. How I would apply the element if its ID gets ed precede by a random string?
  3. Is there a way of extraction and random string instead of hard-coding it with control ID?

Well, I found a solution that works for now. That's what I did:

document.querySelector("[id$='it15::content']");

which means basically select the item whose ID ends with it15::content

Tags: Java

Similar Questions

  • How to change the "TextVariable" via javascript

    Hello

    How can I change the value of a "Custom text Variable" via javascript in indesign CS5?

    I understand that there is a 'content' that is me allotted property, but I can't understand how to set or change.

    Here's the javascript code example for reference.

    var docRef = app.activeDocument;
    
    
    for ( var i = 0; i < docRef.textVariables.length; i++ ) {
    
    
        var textVariableItem = docRef.textVariables[i];
    
    
              // Check for the type
              if (textVariableItem.variableType === VariableTypes.CUSTOM_TEXT_TYPE){
    
    
                        var variableOption = textVariableItem.variableOptions;
      
                        // This will give me the text value of the variable
                        alert("Text Variable " + i + " \n " + textVariableItem.name + "\n" + variableOption.contents);
    
    
                        // But how do I set it? 
                        // The following does not seem to work 
                        variableOption.contents = "New custom text..."; 
              }
    }
    
    // Logic behind this script
    
    // theScript()
    // is a wrapper function to provide functional scope to the entire script
    // This function is invoked at the very bottom of the file
    
    // main();
    // the main function that gathers the initial parameters and launches the dialog box
    
    // function mainDialog(docRef, selectedItems, layers, inputs)
    // A function that creates a dialog box this function is passed as a parameter to a "factory method"
    // called function sfDialogFactory(dialog)
    // which is a general purpose utility for creating dialog boxes.
    
    // The mainDialog function has a callback function that responds to the "comtinue" button and after some validation
    // makes a call to a function called
    
    // function doAction(docRef, inputs, options)
    // This is where the main behvior of the script is suppose to be defined.
    // it is designed to be called AFTER the dialog box return and is the result of the callback inside mainDialog
    // The doAction function receives objects that are parameter holders for various inputs and options that come from the
    // dialog box presented to the user
    
    function theScript() {
    ///////////////////////////////////////////////////
    // BEGIN THE SCRIPT
    //=================================================
    
    ////////////////////////////////////////////////////////////////////////////////
    // SCRIPT MAIN PROCESS
    ////////////////////////////////////////////////////////////////////////////////
    // Main Process
    // The beginning of the script starts here
    // Add main logic routine to this function
    
    // Call Main Function to get the ball rolling
    var elementsData;
    var theDocument = app.activeDocument;
    var inputGroup;
    main();
    
    function main(){
    var theSelectedItems = theDocument.selection;
    var theLayers = theDocument.layers;
    
        var myDialog = sfDialogFactory(mainDialog(theDocument, theSelectedItems), theLayers);
        var result = myDialog.show();
        if (result == 1){
            newAction();
            alert("Done");
            }
        else{
            alert("Not Done");
            }
    }
    
    ////////////////////////////////////////////////////////////////////////////////
    // SCRIPT SUPPORTING FUNCTIONS
    ////////////////////////////////////////////////////////////////////////////////
    // Supporting Functions
    // Include functions that offer partial functionality
    // These functions are called and acted upon within the mainProcess function
    function newAction(){
    
            var formData = getControlValues(inputGroup);
            var inputs = {};
            var options = {};
           // alert("callback get form data");
          // Do something with formData values here
            var cLen = formData.controls.length;
            var formValues = '';
            for (var c = 0; c < cLen; c++ )
            {
                if (formData.controls[c].name === "inputECONumber") {
                    inputs.inputECONumber = formData.controls[c].value;
                    // alert(formData.controls[c].name + " | " + formData.controls[c].value);
                }
    
                if (formData.controls[c].name === "inputDocumentName") {
                    inputs.inputDocumentName = formData.controls[c].value;
                    // alert(formData.controls[c].name + " | " + formData.controls[c].value);
                }
    
                if (formData.controls[c].name === "inputDocumentNumber") {
                    inputs.inputDocumentNumber = formData.controls[c].value;
                    // alert(formData.controls[c].name + " | " + formData.controls[c].value);
                }
    
                if (formData.controls[c].name === "inputDocumentRevision") {
                    inputs.inputDocumentRevision = formData.controls[c].value;
                    // alert(formData.controls[c].name + " | " + formData.controls[c].value);
                }
    
                if (formData.controls[c].name === "inputDocumentType") {
                    inputs.inputDocumentType = formData.controls[c].value;
                    // alert(formData.controls[c].name + " | " + formData.controls[c].value);
                }
            }//End FOR
        doAction(theDocument, inputs, options);
        }
    
    function mainDialog(docRef, selectedItems, layers, inputs) {
    
    // Main Dialog
    // alert("Main Dialog: " + docRef.name);
    
    if ( docRef === undefined ) {
      alert("Cannot Execute, please select a document.");
    }
    
      var currentData = getMetaData();
    
      var dialogObj = {};
    
      dialogObj.groups = []; // An array of dialog groups
      dialogObj.title = "Update Meta Data";
    
      var groupLabelInfo = {};
      groupLabelInfo.title = "Edit: " + docRef.name;
    
      // Add Elements using JSON shorthand syntax
      groupLabelInfo.elements = [
        {
            "name":"labelECONumber",
            "type":"statictext",
            "value":"Engineering Change Order (ECO) Number",
            "visible":true
        },
        {
            "name":"inputECONumber",
            "type":"edittext",
            "value": currentData.inputECONumber,
            "visible":true
        },
    
        {
            "name":"documentName",
            "type":"statictext",
            "value":"Document Name",
            "visible":true
        },
        {
            "name":"inputDocumentName",
            "type":"edittext",
            "value": currentData.inputDocumentName,
            "visible":true
        },
    
        {
            "name":"documentNumber",
            "type":"statictext",
            "value":"Document Number",
            "visible":true
        },
        {
            "name":"inputDocumentNumber",
            "type":"edittext",
            "value": currentData.inputDocumentNumber,
            "visible":true
        },
    
        {
            "name":"documentRevision",
            "type":"statictext",
            "value":"Revision",
            "visible":true
        },
        {
            "name":"inputDocumentRevision",
            "type":"dropdownlist",
            "value": currentData.listRevisions,
            "visible":true,
            "selection":currentData.selectionRevision,
        },
    
        {
            "name":"documentType",
            "type":"statictext",
            "value":"Label Type",
            "visible":true
        },
        {
            "name":"inputDocumentType",
            "type":"dropdownlist",
            "value": currentData.listDocumentTypes,
            "visible":true,
            "selection":currentData.selectionDocumentType,
        },
    
      ];
    
      // Add to groups to list
      dialogObj.groups.push(groupLabelInfo);
      return dialogObj;
    }
    
    function doAction(docRef, inputs, options) {
    
    alert("doAction " + docRef.name + " \n INPUTS: \n" + inputs.reflect.properties + "\n\n OPTIONS: \n" + options.reflect.properties);
    
    // Get the current contents
    
    var fooContents = app.activeDocument.textVariables.item ('Foo').variableOptions.contents;
    var barContents = app.activeDocument.textVariables.item ('Bar').variableOptions.contents;
    
    alert("GET textVariable contents \n Foo: \n" + fooContents + "\n\n Bar: \n" + barContents);
    
    // Set/Update the contents
    // Why does this not seem to work?
    
    alert("SET textVariable contents \n Foo: \n" + inputs.inputDocumentName + "\n\n Bar: \n" + inputs.inputDocumentType);
    
    app.activeDocument.textVariables.item ('Foo').variableOptions.contents = inputs.inputDocumentName;
    app.activeDocument.textVariables.item ('Bar').variableOptions.contents = inputs.inputDocumentType;
    
    // Script does not seem to reach this point. Why?
    alert("END of doAction");
    }
    
    // A Factory function for creating dialog boxes
    
    function sfDialogFactory(dialog) {
    
        // A factory method for creating dialog screens
    
        // Dialog Window
        var d = new Window("dialog", dialog.title);
    
        // alert("Number of Inputs" + dialog.inputs.length);
        // alert("Number of Options" + dialog.options.length);
    
        var i; // counter
        var len; // length of array elements
    
        // Generate Groups
        if (dialog.groups.length > 0) {
    
            len = dialog.groups.length;
            for (i = 0; i < len; i++ )
            {
                var currentGroup = dialog.groups[i];
                inputGroup = d.add ("panel", undefined, currentGroup.title);
                    inputGroup.alignChildren = ["fill","fill"];
    
                if (currentGroup.elements.length > 0) {
                    // Add Elements
                    var ii;
                    var elemLen = currentGroup.elements.length;
                    for (ii = 0; ii < elemLen; ii++ )
                    {
                        var currentElement = currentGroup.elements[ii];
    
                        var el = inputGroup.add(currentElement.type, undefined, currentElement.value);
    
                        // Additional properties added for future reflection
                        el.elName = currentElement.name;
                        el.elIndex = ii;
    
                        switch(currentElement.type)
                        {
                            case "statictext":
                                el.visible = currentElement.visible;
                            break;
                            case "edittext":
                                el.visible = currentElement.visible;
                            break;
                            case "dropdownlist":
                                el.visible = currentElement.visible;
                                el.selection = currentElement.selection;
                                el.onChange = currentElement.onChange;
                            break;
                            case "checkbox":
                                el.visible = currentElement.visible;
                                el.value = currentElement.value;
                            break;
                            default:
                            throw new Error('Unknown Dialog Element Type [' + currentElement.type + ']');
                        }
    
                    }
                }
            }
        }
    
      // Buttons Group
      var buttonGroup = d.add("group");
      var bOK = buttonGroup.add("button", undefined, "Continue", {name: "ok"});
      var bCANCEL = buttonGroup.add("button", undefined, "Cancel", {name: "cancel"});
    
      return d;
    }
    function getControlValues(set) {
        elementsData = {};
        elementsData.controls = [];
        // TO DO Add more types
    
        var giLen = set.children.length;
        for (var gi = 0; gi < giLen; gi++ )
        {
            var child = set.children[gi];
            // alert(objReflection(child, "none", false));
            // alert(child.type);
            var control = {};
                control.name = child.elName;
                control.index = child.elIndex;
                control.type = child.type;
                control.visible = child.visible;
            switch(child.type)
            {
                case "statictext":
                    control.value = child.text;
                break;
                case "edittext":
                    control.value = child.text;
                break;
                case "dropdownlist":
                    control.value = child.selection.text;
                break;
                case "checkbox":
                    control.value = child.value;
                break;
                default:
                throw new Error('Unknown Dialog Element Type');
            }
            elementsData.controls.push(control);
            // alert(objReflection(control, "none", false));
        }
        return elementsData;
    }
    function getMetaData() {
    // Return a data structure that contains meta data from the document.
    
        var dataObject = {};
    
         // Default arrays
         dataObject.listRevisions = generateRangeOfNumbers ("r", 1, 100);
         dataObject.listDesignComps = generateRangeOfNumbers ("Comp_", 1, 100);
         dataObject.listDocumentTypes = [
                         "Datasheet",
                         "Manual",
                         "Tech Guide",
                         "Other"
                     ];
    
         // Set Sensible Default Values for the UI Form
         if (!dataObject.inputECONumber) {
             dataObject.inputECONumber = "###ECO###";
         }
    
         if (!dataObject.inputDocumentName) {
             dataObject.inputDocumentName = "Document Name";
         }
    
         if (!dataObject.inputDocumentNumber) {
             dataObject.inputDocumentNumber = "048-xxx-30";
         }
    
         if (!dataObject.inputDocumentRevision) {
             dataObject.inputDocumentRevision = "r01";
         }
    
         if (!dataObject.inputDocumentType) {
             dataObject.inputDocumentType = "Datasheet";
         }
    
         return dataObject;
    
    }
    
    function generateRangeOfNumbers (prefix, start, end) {
        // This function generates an array of sequential numbers within a range
        // prefix = string to append to beginning of each element
        // start = the beginning of the range
        // end = the end of the range
        // length = overall number of cycles to loop through, start and end must fall within this value
    
        var output = [];
    
        for ( var i = start; i <= end; i++ )
        {
            if (i < 10) {
                // Add a leading zero
                output.push(prefix + "0" + i);
            }
            else {
                output.push(prefix + i);
            }
        }
    
        return output;
    }
    
    //=================================================
    // END THE SCRIPT
    ///////////////////////////////////////////////////
    }
    
    theScript();
    

    I modified your code shortly. He works for me here. Check it out...

    Thank you

    Green4ever

  • How to target the element of the main stage of in a symbol

    I have a symbol where I want to put an action click here to do something to another item on the main stage, how can I do this?

    Check out my tutorial here:

    Targeting of the symbols: discovering the mystery l EdgeHero

    This was made with a previous version of Animatebut the principles still apply.

    In addition, if you use the snippet window, it will give you good scope.

  • Development of the APEX element via javascript

    I'm fighting to set the value of an element of the APEX of the javascript.
    At the moment I have a button on Page 1 that has a URL action. The URL points to
    JavaScript:getConfirmation('&APP_SESSION.');
    and my function is

    < script type = "text/javascript" >
    function getConfirmation (sessionNumber) {}
    var response = confirm (' remove this step remove also all the dependencies that depend on this step.) ») ;
    {if (Answer)}
    html_SetSelectValue (P4_CREATED_STEP, 'YTest');
    document.getElementById('P4_CREATED_STEP').value = "YTest1";
    } else {}
    html_SetSelectValue (P4_CREATED_STEP, 'Packers');
    document.getElementById('P4_CREATED_STEP').value = "NTest1";
    }

    Window.Location.href = "http://appsit-dev-10g.oraclecorp.com/pls/aitmarvel/f?p=101:3:"+ open; "
    }
    < /script >

    I see that I get no error javascript via the Firefox error console.
    However when I redirect to page 2 with the javascript call. The value of 'P4_CREATED_STEP' is undefined.

    Help, please.

    Hello

    You do not submit the page or use AJAX to set the item session state.
    This might help

    http://www.oracleapplicationexpress.com/tutorials/68
    http://Apex-at-work.blogspot.com/2010/02/set-item-value-with-AJAX.html

    BR, Jari

  • PoPList LOV does not have another field via JavaScript

    I want to fill a field of a LOV poplist field value. I tried to write a javascript script, but when I clicked the poplist, poplist field gets filled but the other field has not. I put the following code in the HTML of the page header:
    <script language="JavaScript" 
    type="text/javascript">
    <!--
    function specialty_lookup_pick(){
      //  if P9_SPECIALTY_LOOKUP is not empty, then populate P9_SPECIALTY_FILTER with
      //  it
      if !(html_GetElement('P9_SPECIALTY_LOOKUP')==null ||html_GetElement('P9_SPECIALTY_LOOKUP')==' ') {
        html_GetElement('P9_SPECIALTY_FILTER').value =html_GetElement('P9_SPECIALTY_LOOKUP'); 
      }
    }
    //-->
    </script>
    On the lov poplist, I placed the following code in the HTML Form Element attributes of P9_SPECIALTY_LOOKUP (lov poplist):
    onChange="specialty_lookup_pick();"
    Login details:
    Workspace: RGWORK
    Application: Profile Mini-37838
    User: Tester
    Password: test123

    Follow the following steps:
    1. click on the button on the home screen search firms
    2. click on the architecture and engineering to the title of the research
    3. click on the poplist on the last line (before the go button)
    4. click on any value on the poplist

    Result:
    Poplist field is filled, but the specialty search s/b the padding (in javascript) but is not. Also, I noticed that session state is not defined for the poplist field.

    Can someone please help?

    Thank you
    Robert
    http://apexjscss.blogspot.com

    Your javascript is buggy and it would have been absurd in the part of the conditions of it. Now it's working. Start using firebug.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    http://www.Amazon.de/Oracle-Apex-XE-Praxis/DP/3826655494
    -------------------------------------------------------------------

  • How to target image animation with javascript?

    like where is it in the DOM? What's his name? If it is not exposed to javascript?

    like where is it in the DOM?

    You should probably use AM (recorded with ScriptingListener.plugin) code instead of DOM code.

    Have you done a search of Forum?

  • To hide multiple items via javascript or actions in case of different variable values - how?

    Note: I'm still Captivate 8

    The Question has 2 parts:

    (1) is there a possibility to hide (or show) of the elements via javascript instead of shares advanced? I think it would be a much faster workflow. I think of something as

    If variable1 < = 100 screenx.elemeta.hide;

    If variable1 < = 90 screenx.elemetb.hide.

    If variable1 < = 80 screenx.elemetc.hide;

    If variable1 < = 70 screenx.elemetd.hide;

    (2) if it is not possible... OK, I use advanced actions. But there is the 2nd problem: it runs only the first part of it when exporting in HTML5.

    See photo. I try to hide - or no - hide the 9 elements in case of different values in a Variable. Lets say that the value is "7". In se9 is Laura if the value is less than or equal 9 to hide the element ausw_se_10. This method works. In se8 is asket if the value is less than or equal 8 in order to hide the element ausw_se_09 - what you see in the image. This and the following mask does not work. I'm doing something wrong or is this a bug? And is there a solution?

    sc_2015_10_16_erweiterte_aktionen.jpg

    Showing and hiding are a relatively easy control if you use HTML5:

    CP. Hide ("element_name");

    If you want to hide as much as you describe, you would need a very strict naming convention and use a loop to hide items.

  • Export PDF of unique pages, spreads via Javascript

    Hello

    Thank you for taking the time to read this post. I am a beginner when it comes to scripts, so apologies if this is really simple.

    I tried the search all over the internet and even looked through the Adobe guides and can't seem to find what I'm looking for.

    I have put something in place in pairs printers, facing pages etc.

    Via Javascript, I can export in spreads.

    I also want to be able to export as single pages.

    for example PDF a range of pages to: 2,3,6,7,8,5,4,1

    Do it manually, I simply change the export for the below settings:

    Screen Shot 2016-05-24 at 1.08.31 pm.png

    How can I do this via Javascript?

    Thanks in advance.

    I don't think you can do like this.

    you apply app.pdfExportPreferences.exportReaderSpreads = false

    and after this you applying parameters of your "e-mail", who have the option to export as the pasta spread and settings if I think well last will overwrite the previous one.

    In my view, that it will be easier for you to create 2 settings in indesign, recognize cases and apply search e.g. 'email_spreads' and 'email_singles' settings and control them with the button of your radio.

    Otherwise you should not apply predefine the indesign pdf presets and write all parameters in your script - in this case, you will be able to drive pages/how to export spreads

  • Target another frame in a frameset of flash navigation

    Target another frame in a frameset with e.g. getUrl (example.html, "rightFrame");
    Adobe has a solution?

    -Now migrate us from Flash to PowerPoint and CSS, because
    the lack of answers and interactivity in Flash because of Microsofts "ways of security" in IE 6 and 7


    For now, I can't find a simple solution of how to target another
    image of a picture in html-doc even by a button in a flash navigation.

    Am I right or wrong? It seems that everyone avoid this simple question?
    -Why?



    And I always enjoy every possible answer that could solve my problem and a lot of problem to others
    Interactive producer.


    I don't know what you're saying...

  • Elements of targeting via javascript... How?

    Here is the code for a navigation menu where only option seems lit at a time (based on the code sent to me by the amazing Jon Fritz II).

    CSS:

    a button0 #, a {#button1

    Display: block;

    float: left;

    Width: 55px;

    height: 67px;

    margin: 0;

    }

    a button0.inactive #.{background: url(/carousel_home.png)-55 0 non-repetition}
    a button0.active #.{background: url(/carousel_home.png) 0 0 non-repetition}
    a button1.inactive #.{background: url(/carousel_vip.png) - 0 non-repetition 55px}
    a button1.active #.{background: url(/carousel_vip.png) 0 0 non-repetition}

    HTML:

    < a href = "#" onclick = "changeClass (this) ' class = 'inactive menu' id = 'button0' > < / has >"

    < a href = "#" onclick = "changeClass (this) ' class = 'inactive menu' id ="button1"> < / a >"

    JSCRIPT:

    < script >

    function changeClass (elClass) {}

    var divsLength = document.getElementsByClassName("menu").length;

    for (i = 0; i < divsLength; i ++) {}

    document.getElementsByClassName ("menu") [i] .className = 'inactive menu ';

    }

    elClass.className = 'active menu ';

    }

    < /script >

    What makes that swap the class of a button clicked (in a menu), returning all the other buttons to their original state, where only 1 button appears "informed" at the same time. The a tags are used as block elements that simply change the background image to produce a State "enlightened" and "off".

    My question is via javascript (or something else), is it possible to change class trigger for buttons in a region outside of the menu? In other words, we can do a link text on the page itself trigger which button in the menu 'light '. Something like < a href = "javascript:slide('div1'); JavaScript: (go turn on button1) "> example < /a >"

    The reason is that this menu is not the ONLY way to go from one section to another. So if I click on a link in another DIV on the same page that takes me to another area, ideally, I would like to see the button that represents the area in the menu nav lights as it is clicked on - even if she didn't. And of course, the other buttons are NOT lit.

    Thank you!

    There is little difference between these two, although it could cause your page suddenly jump to the top (if the link is near the bottom, since the browser will interpret the link null as an anchor named to the top of the page.  The way to resolve this would be like that-

    link

    I prefer this format, but I don't know why.

    For the second problem, change this-

    something

    something2

    on this subject.

    something

    something2

  • How to set null article Page in Session Via JavaScript

    Request Express 4.2.6.00.03

    We set a value in a control SELECTION, 'P5_DATASET_NAME ', in the session with a dynamic Action on the change of this control.

    We do this with the following JavaScript code snippet:

    Apex. Server.Process ("dummy"

    , {pageItems: '#P5_DATASET_NAME'}

    , {dataType: "text"}

    Async: false,

    complete: function (ajaxResponse)

    {

    var ignoredReturn = ajaxResponse.responseText;

    }

    });

    It works perfectly, as long as the user selects a value not zero in the drop-down list SELECT down. In other words, we can make any selection (other than NULL), pop up the session in the developer toolbar and immediately see the new value it. In addition, if we then refresh an interactive report on the page that uses the value of this element in the SELECT source, he correctly extraction based on the new value.

    * HOWEVER * if the user selects the NULL option (only if they choose this option), value in the session remains unchanged and continues to be set to the previous value. The $v function correctly reports the null value. If the is updated interactive report it is based on the previous value.

    So, the question is, what is special about NULL? How can I position "unplugged", the value of a session (or null) article page via JavaScript?

    Thank you

    -Joe

    Joe Upshaw wrote:

    Request Express 4.2.6.00.03

    We set a value in a SELECTION control, "P5_DATASET_NAME", at the session with dynamic Action on the change of this control.

    We do this with the following JavaScript code snippet:

    Apex. Server.Process ("dummy"

    , {pageItems: '#P5_DATASET_NAME'}

    , {dataType: "text"}

    Async: false,

    complete: function (ajaxResponse)

    {

    var ignoredReturn = ajaxResponse.responseText;

    }

    });

    It works perfectly, as long as the user selects a value not zero in the drop-down list SELECT down. In other words, we can make any selection (other than NULL), pop up the session in the developer toolbar and immediately see the new value it. In addition, if we then refresh an interactive report on the page that uses the value of this element in the SELECT source, he correctly extraction based on the new value.

    * HOWEVER * if the user selects the NULL option (only if they choose this option), value in the session remains unchanged and continues to be set to the previous value. The $v function correctly reports the null value. If the interactive report is updated it is based on the previous value.

    So, the question is, what is special about NULL? How can I position "unplugged", the value of a session (or null) article page via JavaScript?

    Another question is: why are you going to this length instead of just using the source attribute Page to go on IR region, which will be automatically put in the session state until the IR is updated?

  • How automatically update an element when another element is updated?

    How can update us an element when another element is updated in an editable form. Example: the p22_code is a LOV and 'C' is selected. We want then point p22_level to automatically run a query or plsql "select next seq... where p22_code = 'C" ".

    Published by: user10211581 on 15 Sep 2011 04:43

    APEX 3.2, you have two ways to do this.

    (1) on your item, you call a function AJAX to populate your list of selection on the onchange event. It is complex, requiring javascript and AJAX.

    (2) the simplest solution is to combine a selection with presentation box that reloads your page and run your query source in your selection box.

  • How to disable a page based on the value of another element on the Page element?

    Hello

    How can I turn a page element using javascript based on the value of another element on the page?

    Eg: P1_TEXT want to be disabled if the value in P1_LCOK = "LOCK".

    How can I do this using javascript. I want this implemt on loading the page.

    Kind regards
    Benz

    Put this function in the page header:

    
    

    and call it in the footer:

    f_disable_item;
    

    Denes Kubicek
    ------------------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    ------------------------------------------------------------------------------

  • How to increase the processing speed by connecting to another computer via USB - USB cable

    Share laptop processing power. Windows 8, Windows 7

    Hello

    I was wondering if I could increase my processing power by connecting a portable alternative to mine via a USB to usb cable. If anyone knows how I would go to do that, or if it is possible I would like to know. I searched on google but not found all the answers.
    If this can help, my laptop is running Windows 8 32-bit preview developer, and the portable alternative is running as Windows 7 Ultimate 32 bit.
    Any help would be greatly appreciated.
    Thank you very much
    Mike

    Hi MichaelSenior,

    You will not be able to increase the power of a computer processing by connecting it to another computer via a USB cable or by any other means.

    In order to increase the processing power of your computer I suggest you check with your computer manufacturer to see if you can pass any hardware on your computer.

    Example: Increase the size of the memory on your computer or upgrading the processor etc...

    Hope this information helps you.

  • How can I trigger "Add tags to the document" via JavaScript?

    How can I trigger "Add tags to the document" via JavaScript? I am trying to add this fuction ITextSharp if when the user opens the pdf it could mark the document once it is opened automatically

    Is not possible.

Maybe you are looking for

  • Laptop will not turn off

    I have a HP Pravilion dv5 and have had since Christmas. Recently when I go to stop, it won't. I can use the sleep, hibernate and all other options but won't stop. Any suggestions?

  • Help KING building on Central line

    HI -. I have a bit of a problem using the IMAQ ROIProfile VI. I am currently working on a project where I need to extract the profile to the centerline of an image. I was able to do that when I set the profile of the KING to control BUT I want to do

  • I did a restore and must now update my computer.

    I did a restore and must now update my computer. I t is not any Service Pack installed. When I select 'EXPRESS' I get the following text "the website has encountered a problem and cannot display the page you are trying to view. The options provided b

  • How can I get rid of the returns in my text?

    I'm a writer. I put a lot of text on my word processor. While writing, I pressed the wrong .key and he did all the hard return symbols appear. I know are a very simple process to remove them, but I don't remember the sequence of what to do. Anyone ca

  • I used a time trouble my email for $59.99 from Microsoft online. My mail is not fixed and I am money what can do?

    I used one once difficulty of Microsoft for $59.99 set my email.  My email is not fixed and I'm out of money.  What can I do to fix this?  I used Microsoft for help with computer stalls error message and cannot update windows.  My computer is a mess.