Dynamic actions in two select list

Hi all,
I have created two select lists.one is parent another is child.
i can get the child list values correctly using cascading lov parent item
Eg: parent item values company name :x,y,z etc
x having 3 clients say a,b,c
there is no client for y
z having 2 clients say d,e
now i want to hide the child item once the parent having no child.
The moment when i select 'y' for the above example i want to hide the child item.
How can i do that?

Hi,
You can do the following:
1. Create a hidden page item, say PX_HIDE_SHOW_FLG
2. Create a Dynamic Action of the type "Set Value" on the parent item to update PX_HIDE_SHOW_FLG. You can choose the "Set Type" as "PL/SQL Function Body". The function code should return 'Y' or 'N' based on the logic (count the number of children under the selected parent). You can trigger this DA on "change" of the parent item.
3. Now, create another DA on PX_HIDE_SHOW_FLG to hide/show the child LOV item based on its value. For, example, if value (of the hidden page item) = 'Y', then hide, else show.
Thanks,
Rohit

Similar Messages

  • Dynamic Action in Apex - Select list to Text field

    Hi,
    I have two text items. Need to create dynamic action for the following,
    1. Order_type - Drop down values having CONSUMER & WHOLESALE.
    2. Order_number - Text field
    When a user selects CONSUMER, order number should automatically change to '1-' and user can enter only 14 characters (1-236666666666).
    When a user selects WHOLESALE, order number should automatically change to '2-' and user can enter only 12 characters (2-2155555555).
    Can someone please help to resolve this issue.
    Thanks in advance.

    Hi Gayathri,
    Gayathri Venugopal wrote:
    Thanks Kiran. Actually ,order number should be disabled. only on selection of  order type, order number should be enabled, how do I do that?can you please help
    I can do fire on page load and disable order number .But how do i enable it again on selection of order number
        Let's say '1-' is prefix for Order Number when Order Type is 'CONSUMER' and '2-' is the prefix for Order Number when Order Type is 'WHOLESALE'.
        So a solution to your issue would be:
    Go to Page Attributes -> CSS -> Inline CSS and add the following class:
    .item_disabled {
      cursor: default;
      opacity: 0.5;
      filter: alpha(opacity=50);
      pointer-events: none;
    Create three elements PXX_ORDERNUM_PRE, PXX_ORDERNUM_SUF(as text Items) and PXX_ORDER_NUMBER(as hidden. Set Value Protected -> No).
    Arrange the PXX_ORDERNUM_PRE and PXX_ORDERNUM_SUF on one row.
    Set the "HTML Form Element Attributes" for PXX_ORDERNUM_PRE to this:
    readonly="true"
    Set the "HTML Form Element CSS Classes" for PXX_ORDERNUM_PRE to this:
    item_disabled
        NOTE : The above two points are to make the PXX_ORDERNUM_PRE element readonly, because if we disable the element we can't assign it a value.
    On the change event of PXX_ORDER_TYPE select list create dynamic action to populate PXX_ORDERNUM_PRE (as mentioned earlier)
    var ordertype = $('#P11_ORDER_TYPE').val();
    if (ordertype === 'CONSUMER') {
      $('#P11_ORDER_NUMBER_PRE').val('1-');
    } else if (ordertype === 'WHOLESALE') {
      $('#P11_ORDER_NUMBER_PRE').val('2-');
    Create an on-submit computation to concatenate PXX_ORDERNUM_PRE and PXX_ORDERNUM_SUF into PXX_ORDER_NUMBER.
    Create validation on PXX_ORDERNUM_SUF, if PXX_ORDER_TYPE is 'CONSUMER' the length should be 12 characters, if 'WHOLESALE' the length should be 10 characters.(excluding 2 characters of prefix).
         So this covers the following:
    On change of Order Type, Order Number Prefix should be set.
    Order Number Prefix should be not able to be modified, but the rest of Order Number should be able to be entered by user.
    Order Number should be of specific length depending upon the Order Type.
         Hope this helps!
    Regards,
    Kiran

  • Two select lists in tabular form

    I have two Select Lists which one of them depends on the another -the second one's query depends on the first one's - .....
    This operation can be done in a form or a page, but how it could be done in a tabular form???
    Saad

    The simple answer is that to the best of my knowledge, it cannot be done because of how the tabular form works. If I understand it correctly, Tabular forms are populated completely at page load and cannot post back from items inside the form in order to refresh a list of values on the second select list. If you want to do this, you will need to build the form as a "Form and Report" page type where you have links in your report that populate a regular page form. Just tell it to put the form and the report on the same page them add a hidden page item that you set to 1 or 0 to display the form and setup the form processing so it is button tied instead of unconditional (You may have to duplicate auto processing processes).
    The complex answer....there probably is a way to do this using AJAX as AJAX is good at this kind of stuff and every field in the tabular form has an HTML id of some kind....but I am not well versed enough in AJAX to give you a straight answer as to how to accomplish it. I used AJAX to do something similar to what your talking about but it was with regular page items (using a select list to populate a shuttle without a post back) and not items in a tabular form.

  • Switch item display type dynamically? popup-lov | select-list

    Hi,
    I've got a select-list item which I want to switch dynamically to a popup-lov. I want to display a popup-lov when the number of items to select from is high (say more than 15), otherwise I want to display a selct-list. How can I achieve this?
    thanks,
    Stephan

    steph0h wrote:
    Hi,
    I've got a select-list item which I want to switch dynamically to a popup-lov. I want to display a popup-lov when the number of items to select from is high (say more than 15), otherwise I want to display a selct-list. How can I achieve this?How do you determine the number of options?
    The simple approach is to create separate Select List and Pop-up LOV items and use conditions based on the number of available options to display the correct one. The items have to have different names, so if this is to be used for example to provide a value for a database column, create another hidden item based on the database column and transfer the values between the UI and DB items using computations.

  • Dynamic values of a select list based on a column

    Is there an easy way to build the values of a select list from a column that contains 'Red,Green,Blue" where Red, Green, Blue will be the values of the select list?

    Bob,
    Next time you could try this for a one row table:
    WITH DATA AS
         (SELECT     SUBSTR (txt
                            , INSTR (txt, ',', 1, LEVEL) + 1
                            ,   INSTR (txt, ',', 1, LEVEL + 1)
                              - INSTR (txt, ',', 1, LEVEL)
                              - 1
                            ) AS token
          FROM       (SELECT ',' || YOUR_COLUMN || ',' txt FROM YOUR_TABLE)
          CONNECT BY LEVEL <=
                          LENGTH (txt)
                        - LENGTH (REPLACE (txt, ',', ''))
                        + 1)
    SELECT *
    FROM   DATAOr use this if your comma separated values are in more than one row:
    http://blogs.ittoolbox.com/oracle/guide/archives/sql-question-pivots-analytics-and-the-judicious-use-of-row_number-10156

  • Refresh PL/SQL Report Region (not Page) using Select List value

    Hi,
    I've got a report region based on a 'PL/SQL function body returning a SQL query'which gets generated on selecting a value from a Select list item, The Select List action is 'Redirect and Set value' but this causes the whole page to refresh rather than just the report region. I've tried to refresh the report only using a dynamic action on the Select List item (Action now reset to  'None') but now the report is not appearing on choosing from the List. Can anyone suggest a solution that will allow me to refresh this report without refreshing the page? I am using APEX 4.2.2 and the report syntax is as follows:
    DECLARE
      v_statement VARCHAR2(500);
    BEGIN
      SELECT query_text
        INTO v_statement
       FROM sql_queries
       WHERE query_id = :P2_QUERY ;
       RETURN v_statement ;
    END ;
    where P2_QUERY is Select List Item,
    regards,
    Kevin.

    KevinFitz wrote:
    The report region being displayed is conditional on P2_QUERY item being NOT NULL. I assume the region not appearing is because the Action for the Select List Item is set to None and so P2_QUERY is always NULL.
    No, the region is not appearing because it is conditional on P2_QUERY being NOT NULL. This means that the report region never exists on the page shown in the browser, so it can't be dynamically refreshed. (Dynamic refresh doesn't evaluate region conditions, and it only re-renders the report content, not the entire region.)
    Remove the condition on the report region, check the refresh is working, then reconsider exactly what the requirements here are. If you want the region to appear only when P2_QUERY has a value, and you want it to be refreshed without submitting and re-rendering the page, then the region needs to be hidden rather than conditionally rendered, and shown via a dynamic action when P2_QUERY gets a value.
    I tried adding an additional Set Value True Action for the DA event but got an error as listed above,
    All irrelevant if Page Items to Submit on the region is used properly.

  • Dynamic action not working

    Hello All,
    I have created a dynamic action for cascading select list.
    I have a select list(List_1) item and and a tabular form containing a select list(List_2), this tabular form List_2 is dependent on List_1.
    So I have created a dynamic action on change of List_1, this is the code I used
    var l_Return = null;
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
                  'APPLICATION_PROCESS=SELECT_DRUG_QUANTITY',0);
    var treat_id = document.getElementById('P533_TREATMENT').value;
    //alert(treat_id);
    get.add('TABU_CASCADING_ITEM',treat_id);
    gReturn = get.get('XML');
    var l_Count1 = gReturn.getElementsByTagName("qntity").length;
    var l_Select = html_GetElement('f30_1');
    l_Select.length = 0;
    for(var i=0;i<l_Count1;i++){
      l_Opt_Xml = gReturn.getElementsByTagName("qntity");
    appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
    l_Opt_Xml.firstChild.nodeValue);
    If you can see there is a alert in between, if I enable it cascading list is working but when I comment that alert it is not working.
    As I can see we don't have "Page Item to Submit" for Execute javascript Action.
    Please let me know where I am going wrong.
    Thanks
    Tauceef                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hello Tauceef,
    I am having similar issue.. see following thread.
    Report refresh, Strange behaviour
    The DIRTY work-around I have used is to put some delay using setTimeout function.
    Try to put following code in other JS function and schedule it to run after 30 secs.
    var l_Count1 = gReturn.getElementsByTagName("qntity").length;
    var l_Select = html_GetElement('f30_1');
    l_Select.length = 0;
    for(var i=0;i<l_Count1;i++){
      l_Opt_Xml = gReturn.getElementsByTagName("qntity");
    appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
    l_Opt_Xml.firstChild.nodeValue);
    Regards,
    Hari

  • Unable to create a dynamic action ALERT to be generated on a Select List when particular value is selected.

    Hi everyone, this should be so easy, yet I am stuck.
    I have a form region with an item P110_VESSEL_ID.   This item is a select list.   It is based on the query: 
    select distinct v.vessel_name, v.vessel_id
    from vessels vessels v, frequent_fishermen ff
    where ff.dea_permit_id = :G_PERMIT_ID and
    ff:vessel_id = v.vessel_id
    UNION
    select v.vessel_name, v.vessel_id
    from apex_collections a, vessels v
    where collection_name = 'SUPVES_COLLECTION' and
    a.c002 = v.vessel_id
    If the user decides against the values in the select list query, they may opt to SELECT ALL VALUES.  This SELECT ALL VALUES is a POST ELEMENT TEXT on P110_VESSEL_ID.
    <a id="popVessels" href="#"><font color=blue>Select from ALL Vessels</a>
    This all works fine.
    The issue is that when the user selects a vessel name = 'UNKNOWN' and it's corresponding vessel_id value, I would like an ALERT to appear indicating that they should double check that the vessel is UNKNOWN and not that the is no vessel. 
    I created a dynamic action
    event= change
    select type = item
    item = P110_VESSEL_ID
    True ACtion #1 is the ALERT.
    I currently have no other logic, but cannot even get this to work.  Any thoughts.   I have also tried the SELECT TYPE = jQuery Selector = select[name='P110_VESSEL_ID'] but that does not work either (though I am not certain if the value should be P110_VESSEL_ID or the static name of VESSEL_ID).
    Any help is appreciated.
    ps.  the page is not submitted when the vessel is changed.  There is other data that needs to be entered both in this region and others and many validations run when submit, so the submit would not be an option.
    thanks again,
    Karen

    KarenH,
    KarenH wrote:
    I created a dynamic action
    event= change
    select type = item
    item = P110_VESSEL_ID
    True ACtion #1 is the ALERT.
    This should work.  Sometimes I've see where there is other javascript on the page that may have some errors and is causing the dynamic action code to not be executed.  Use your favorite browser script console to try and determine if this may be the case.
    --Jeff
    P.S. Your jQuery selector can be: select#P110_VESSEL_ID

  • Dynamic select list dependency

    Hello,
    I want to have two select lists populated dynamically by a query, where contents of one list depend on the choice made in the other list.
    For example I have tables CATEGORY (ID, NAME) and SUBCATEGORY (ID, NAME, CAT_ID). I created one List of Values that Category select list is based on: "select name d, id r from category order by 1". This alone works fine.
    Now for Subcategory select list I created another List of Values: "select name d, id r from subcategory where cat_id = :CAT_ID order by 1". The where clause is just my guess and it doesn't work (select list is empty). How do I pass the value selected in my first select list as a parameter for the second one?
    Nikolai

    can you take a look to my response to the second question at...
    Pop List and Developer Toolbar
    ...and let us know if you have any questions?
    thanks,
    raj

  • Question on Dynamic Select Lists and Checkboxes

    Hello,
    I am new to APEX, and this is my first posting, I have a question about how to implement dynamic checkboxes from a select list.
    Basically I would have a select list, and based on what item is selected a set of checkboxes would appear.
    I was originally using the Select and Submit property on the select box, which works fine, all of the checkboxes appear appropriately. But the thing is, APEX refreshes the page each time, and since this select box is lower in the page, the user would have to scroll all the way down to where they were before.
    The main requirement is so that the user won't have to scroll down the that position where the select box is each time they select a new option.
    So a work around attempt is to create a javascript that will automatically scroll down to that position on page load ...
    i.e.
    function pageScroll() {
    window.scrollBy(0,50);
    But that didn't work, because for some reason the javascript wasn't appearing.
    Is there a way to either:
    1. Have a dynamic checkbox appear using ajax? -or-
    2. Have the javascript scrolling effect
    Sorry if this is a confusing question, I was wondering if anyone else came across this issue.
    Thanks in advance!!

    Since this Select List plays such an important role on the page, why not create a side-region and put that select list there so you don't have to overwhelm the user and his 'persistence of vision ' with a page that scrolls all by itself to the 1000th line to, then , change the options ?
    just an idea.

  • Dynamic select list values ?

    Hi Marvel team.
    I hae two select lists in my page (A, B), when selecting a value in the list A, the list B must display some values based on what I have select
    in the List A.
    How can I start to di this please ?
    Thanks for any help.
    Jina.

    Hello Neelesh Shah,
    I have tried what you explain, but the select list with submit do not wotk properly,
    when selecting a value in the list, he page submit but the value of the list is the last one !
    and if I set the source user attribute at : always...... the value of the list is always null even if I select a value !!
    Is it a bug ?
    Thanks.
    Jina.

  • How to create a dynamic action from link column in classic report

    I Have an apex page that display a modal window utilizing jquery. In the modal window I have a classic report with a link column that I want to capture its click event.
    I was thinking I could create a dynamic action with selection type=jquery selector. Not for sure if I need to do anything on link column and do not know the syntax
    for jquery selector. Would appreciate any help or direction???

    Thank you for your response. I am very new to Jquery so don't understand all that well.
    What I did:
    I created a dynamic action
    Event: Click
    Selection Type: jQuery Selector
    jQuery Selector: tdheaders
    Created True Actions
    I created an alert to see if this is being executed.
    Alert 'I made it here'
    What I have:
    I created a report region with the following query:
    Select empno, ename, 'SELECT' from emp
    where (ename like '%'||ltrim(rtrim(:P2_SEARCHPU))||'%'
    or :P2_SEARCHPU is null)
    I created 'SELECT' column as Link Column
    Report Attributes
    Link Text Select
    Target Page in this Application
    Page 2
    Region Header
    <div id="ModalForm2" title="Employee List" style="display:none">
    Region Footer
    </div>
    This report is displayed in a modal form when a button is clicked.
    Code for modal window in Page Header
    <script type="text/javascript">
    $( function() {
    $('#ModalForm2').dialog(
    { modal : true ,
    autoOpen : false ,
    buttons : {
    Cancel : function() {
    closeForm2();
    function openForm2()
    $('#ModalForm2').dialog('open');
    function closeForm2()
    $('#ModalForm2 input[type="text"]').val('');
    $('#ModalForm2').dialog('close');
    </script>
    I am trying to capture the click event on the link column of the report in the modal form. I want to pass a couple of column values
    back to the main form and close the modal window. I do not want to do the submit that happens if I click on the link column and link back to the main page(2)
    If I let the submit to happen, all other entered fields are cleared on my main form.
    Just don't understand the jQuery selector. I have no problem catching the button clicks on the modal form.

  • Populate SELECT LIST on selecting value in another SELECT LIST

    Hello
    I have two SELECT LIST's
    1. SELECT LIST with departments : Created a LOV which has all the departments.
    2. SELECT LIST with employees : This has to be dynamic.
    Based on the value from the first Department SELECT LIST I need to populate the Employee SELECT LIST.
    Please let me know, how can I do this.
    Appreciate your help
    thanks

    Hi,
    Say you have two form items P1_ITEM1, P2_ITEM2. You want the P2_ITEM2 will be updated according to the selection in P1_ITEM1. I am assuming P1_ITEM1 select list based on the department table. In the lov section for that item type dynamic query -
    select dept_id, dname from departments -- change attributes in query as per your table.
    set the null value -1 and default value -1 for P1_ITEM1. Change Display null to YES and type -Select dept in the null text.
    For P1_ITEM2 in the lov section type the following query for dynamic list -
    select emp_id, ename from employees where dept_id = NV(P1_ITEM1) or NV(P1_ITEM1) = -1 -- change attributes in query as per your table.
    for the second query assuming that you have dept_id as FK in the employees table. Make sure both fields are selected as select list as display. Now if user select the department from item1 it will update the item2. It will display all the employees if nothing is selected in the item1.
    Hope this helps,
    Thanks,
    M Tajuddin
    http://tajuddin.whitepagesbd.com

  • DYNAMIC ACTION - Javascript Expression checkbox

    Hello
    I have 2 items
    1.     P2_REQUEST_TYPE_CODE
    a.     SELECT LIST
    i.     EQUIPMENT REV
    ii.     POSTER
    iii.     ROOM SHELL
    iv.     VISIO TO CAD
    2.     P2_RETURNED_FILE_TYPE_CODE
    a.     CHECKBOX
    i.     2D POSTER
    ii.     CAD DRAWING
    iii.     PDF
    iv.     VISIO
    I Have a Dynamic Action
    Event: Change
    Selection Type : Item(s)
    Item(s): P2_RETURNED_FILE_TYPE_CODE,P2_REQUEST_TYPE_CODE
    Condition: JavsScript Expression
    Value:
    $v('P2_RETURNED_FILE_TYPE_CODE')=='2D POSTER'||
    $v('P2_REQUEST_TYPE_CODE')=='POSTER'
    When my user chooses “P2_REQUEST_TYPE_CODE (“POSTER” )”it needs to displays Address Columns and it does. When my user chooses “P2_RETURNED_FILE_TYPE_CODE (“2D POSTER”)” It needs to display address Columns and it does. Everything works fine except when in “P2_RETURNED_FILE_TYPE_CODE” all checkboxes are checked the address columns don’t get display, any idea?
    Application Express 4.1.1.00.23
    Thanks
    -JC

    Hi JC,
    If you check multiply checkboxes the value will be a string with the value separated by a colon.
    You shoudl use something like indexOf.
    $v('P2_RETURNED_FILE_TYPE_CODE')=='2D POSTER'||
    $v('P2_REQUEST_TYPE_CODE').indexOf('POSTER') != -1Regards,
    Kees Vlek
    http://www.orcado.nl
    http://www.orcado.nl/blog/blogger/listings/69-kvlek
    If the question is answered please change it to answered.

  • Ajax code help for conditional select list.

    Hi,
    I am using AJAX code for the first time, I dont have knowledge in java, I just grabbed the code from this forum and trying to manipulate to my requirement.
    My Requirement is I have two select lists, 1) host_name and 2) database_name.
    As soon as I pick/choose the value in host_name select list, I need to populate only those databases on that particular host. I dont want to submit the page for this action.
    Here is the code, I appreciate if some one can help.
    On demand Application Process code:
    declare
    l_counter number;
    l_o_name varchar2(2000);
    begin
    owa_util.mime_header('text/xml', FALSE );
    htp.p('Cache-Control: no-cache');
    htp.p('Pragma: no-cache');
    owa_util.http_header_close;
    htp.prn('<select>');
    for rec in (select "ORA_DATABASES_VW"."DATABASE_NAME" as "DATABASE_NAME",
         "ORA_DATABASES_VW"."DB_ID" as "DB_ID"
    from "ORA_DATABASES_VW"
    where "ORA_DATABASES_VW"."HOST_NAME" = :TEMP_ITEM)
    loop
    htp.prn('<option value="' || rec.db_id || '">' || rec.database_name || '</option>');
    end loop;
    htp.prn('</select>');
    end;
    HTML Header on that page:
    =================
    <script language="JavaScript1.1" type="text/javascript">
    function get_List_XML (source_item,target_item){   
    var v_Target = html_GetElement(target_item);
    var v_Source = html_GetElement(source_item);
    var ajaxResult = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=POPULATE_LIST_XML',0);
    ajaxResult.add('TEMP_ITEM',source_item.value);
    var v_result_xml = ajaxResult.get('XML');
    if(v_result_xml && v_Target)
    var options_Contents = v_result_xml.getElementsByTagName("option");
    v_Count = options_Contents.length;
    v_Target.length = 0;
    for(var i=0;i<v_Count;i++)
    var v_opt_xml = v_result_xml.getElementsByTagName("option");
    appendToSelect(v_Target, v_opt_xml.getAttribute ('value'),v_opt_xml.firstChild.nodeValue)
    function appendToSelect(target_item, option_val, option_content) {  
    var v_Opt = document.createElement("option");
    v_Opt.option_value = option_val;
    if(document.all){
    target_item.options.add(v_Opt);
    v_Opt.innerText = option_content;
    }else{  
    v_Opt.appendChild(document.createTextNode(option_content));
    target_item.appendChild(v_Opt);
    </script>
    Form element attribute in the host_name column. P935_INSTANCE_DB_NAME is my page item for database_name.
    onchange="get_List_XML (this,'P935_INSTANCE_DB_NAME')"

    Here is the code, Hope I had put it correctly now.
    This is fixed now. Thanks a lot for helping out this. I have two questions.
    1) I am seeing very slowness when selecting the select list. Will these java code require much resource?
    2) I need to put this logic in many screens for many columns. So having these many application process and application items and java code, will the application performance get a hit? I know that application process are on-demand and get called only when required.
    declare
    l_counter number;
    l_o_name varchar2(2000);
    begin
    owa_util.mime_header('text/xml', FALSE );
    htp.p('Cache-Control: no-cache');
    htp.p('Pragma: no-cache');
    owa_util.http_header_close;
    htp.prn('<select>');
    for rec in (select "ORA_DATABASES_VW"."DATABASE_NAME" as "DATABASE_NAME",
    "ORA_DATABASES_VW"."DB_ID" as "DB_ID"
    from "ORA_DATABASES_VW"
    where "ORA_DATABASES_VW"."HOST_NAME" = :TEMP_ITEM)
    loop
    htp.prn('<option value="' || rec.db_id || '">' || rec.database_name || '</option>');
    end loop;
    htp.prn('</select>');
    end;
    HTML Header on that page:
    =================
    <script language="JavaScript1.1" type="text/javascript">
    function get_List_XML (source_item,target_item){
    var v_Target = html_GetElement(target_item);
    var v_Source = html_GetElement(source_item);
    var ajaxResult = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=POPULATE_LIST_XML',0);
    ajaxResult.add('TEMP_ITEM',source_item.value);
    var v_result_xml = ajaxResult.get('XML');
    if(v_result_xml && v_Target)
    var options_Contents = v_result_xml.getElementsByTagName("option");
    v_Count = options_Contents.length;
    v_Target.length = 0;
    for(var i=0;i<v_Count;i++)
    var v_opt_xml = v_result_xml.getElementsByTagName("option");
    appendToSelect(v_Target, v_opt_xml.getAttribute ('value'),v_opt_xml.firstChild.nodeValue)
    function appendToSelect(target_item, option_val, option_content) {
    var v_Opt = document.createElement("option");
    v_Opt.option_value = option_val;
    if(document.all){
    target_item.options.add(v_Opt);
    v_Opt.innerText = option_content;
    }else{
    v_Opt.appendChild(document.createTextNode(option_content));
    target_item.appendChild(v_Opt);
    </script>
    Form element attribute in the host_name column. P935_INSTANCE_DB_NAME is my page item for database_name.
    onchange="get_List_XML (this,'P935_INSTANCE_DB_NAME')"
    }

Maybe you are looking for

  • Is there a way to use my external hard drive to run sounds from Mainstage2?

    Is there a way to use my external hard drive to run sounds from Mainstage2?

  • Fuzzy Logic Toolkit

    I followed the truck maneuvering example in the 'PID Control Toolset User Manual' and tried to use the 'I/O-Characteristic' test facility. But, when I tried to run the test facility, I realized that there is no run & stop buttons in the window. By th

  • Number range error in goods movement BAPI

    Dear friends we are using the BAPI BAPI_GOODSMVT_CREATE to create a material reservation with movemnet type 201. although all the fields are maintained properly i get an error number 136 - number range different. i checked the number range and found

  • SAP XI project - proof of concept

    What will be tasks of an XI consultant for a SAP XI project - proof of concept stage. Thanks, -Naveen.

  • My App Store Doesn't Show Any Thing , and not working .

    Today I've Noticed that My App Store Application is Not Working , and even I Can't Click On any Tabs ,and all of menu bar items such as sign out,sign in doesn't work . and doesn't Show Loading Status Bar, and doesn't show any message as you see in th