clear the textfield object using javascript

Hello, how can I delete a textfield when there is an onchange event that happens to my select list using javascript?

Published by: Joe Smith on March 6, 2011 23:15

Hello

Something like that

SELECT apex_item.SELECT_LIST_FROM_LOV( 1, c001, 'LOV_GROUP_INFO', 'id="f01_'
  || lpad(ROWNUM,4,0)
  || '" onchange="$s(''f02_'
  || lpad(ROWNUM,4,0)
  || ''','''')"', 'NO' ) AS tesd,
  apex_item.text(2,c002,NULL,NULL,'id="f02_'
  || lpad(ROWNUM,4,0)
  || '"') AS my_value_1,
  apex_item.text(3,c003,NULL,NULL,'id="f03_'
  || lpad(ROWNUM,4,0)
  || '"') AS my_value_2
FROM apex_collections
WHERE collection_name ='TEST'

Kind regards
Jari

Tags: Database

Similar Questions

  • How can we display - hide or enable - disable the Captivate objects using javascript?

    How can one show - hide or enable - disable or change the color of the Captivate objects using javascript?

    All ideas, actually I want to avoid Advance Action assisted drop programming and want to do the actions of text encoding.

    You can show/hide and activate using the following syntax.

    CP. Show ("obj." + i)

    CP. Hide ("obj." + i)

    CP. Enable ("obj." + i)

    CP. Disable ("obj." + i)

  • How to hide the textfield element using javascript

    I point textfield and I want to hide it using javascript...

    can you help me please?

    Hello

    I checked his works well for me.

    Go to DISPLAY ATTRIBUTES and change the direction of cursor to DO NOT FOCUS CURSOR

    then check...

    Let me know incase of any concerns.

    See you soon,.
    Shan...

  • How to generate QML objects using javascript?

    Hello

    I'm trying to generate new labels whenever the information is changed. I am aware of generate and load XML. However, I am looking for a way alternative simple generate labels or other objects using javascript. How to do this?

    This page contains an example to create components dynamically:

    http://developer.BlackBerry.com/Cascades/reference/bb__cascades__qmlcomponentdefinition.html

  • When a photo has for example a bright sky beside the dark object, using lights and shadows can cause a 'halo' or double edge to appear. How can I avoid this?

    When a photo for example has a bright sky next to the dark object, using lights and shadows to reduce high contrast can cause a 'halo' or double-edge to appear. How can I avoid this?

    From my experience, this isn't a problem that has a simple solution, such as moving a slider or a combination of the sliders in LR. It requires rather a major change in the technique, at the unit or in office. Some pros (I am not one) tire ALWAYS support HDR or this reason - better transition from highlights to shadows, then tweak the image with much less "heavy" necessary. Another popular technique is the luminosity masking and blending in PS. There is a ton of information on this topic (just do a search on Youtube), but it's not easy to learn or do, but it can eliminate this problem.

  • I am reorganizing the attribute value using javascript. see code below

    Hi all

    I am reorganizing the attribute value using javascript. see code below and suggest me

    EX: id = "to THE:1" reorganize to id = "to THE:2"

    myDoc var = app.activeDocument;

    var myGlueCodePath = app.filePath + "/ Scripts/XML rules/glue code.jsx";

    var myFile = File (myGlueCodePath);

    app.doScript (myFile);

    If (app.documents.length! = 0) {}

    var myRuleSet = new Array)

    new findObjAttribute ("//auq")

    );

    {with (MyDoc)}

    var elements = xmlElements;

    __processRuleSet (Elements.Item (0), myRuleSet);

    }

    }

    else {}

    Alert ("you have no open documents!");

    Exit();

    }

    function findObjAttribute() {}

    myIdName = "findObjAttribute";

    This.XPath = ("[/ / auq[@id]");

    This.Apply = function (myElement, myRuleProcessor)

    {

    elmName = myElement var .markupTag .name;

    {with (MyElement)}

    try {}

    var myAttName = myElement .xmlAttributes .itemByName ("id") .value;

    SS var = myAttName.replace(/[A-Z]+\:/,""); "

    var SSS = ss - 1;

    myAttName = myAttName.replace(/[0-9]/,sss)

    $.writeln (myAttName);

    } catch (e) {};

    }

    }

    }

    Your code re - order the value correctly, but you don't have the update attribute in the element.

    Try this,

    myAttName = myAttName.replace(/[0-9]/,sss);

    myElement.xmlAttributes.itemByName("id").value = myAttName;

  • How to get the Blackberry ID using javascript for Webworks App?

    Hi all

    I have developed a web application using Blackberry webworks SDK and emulator Ripple... Here, I need to get the Blackberry device ID using javascript... Please me... Thanks in advance...

    With respect,

    Marimuthu_P

    HM... There is a sample to get the PIN with javascript.

    https://developer.BlackBerry.com/HTML5/APIs/BlackBerry.identity.html#.UUID

  • How to validate the field "Reason for change" in the commercial indications using JavaScript?

    How to validate the field "reason for change" in the commercial directions Summary tab using JavaScript?

    Current version of PLM4P: v6.1.1.5.2

    Please help me to validate the fields using JavaScript.

    Thank you

    Nefertari

    Developed using some of the Javascript predefined functions that we offer, it's just JavaScript and jQuery.

    But here is an example.

    (Use Internet Explorer F12 developer tools to find the IDS of the fields to work with.)

    $(document).ready(function() { 
    
        if (UI_Ext_isSpecInEditMode && UI_Ext_HasWorkflowBehavior('1005'))
        {
           //normally, we can use jquery to retrieve elements ($('#ifOfInput).val()), but it seems to fail when the id and the name attributes are the same. so we just use javascript document.getElementById instead.
           var reasonForChange = document.getElementById('ctl01$SpecSummaryctl1$ctlCollapsibleContentContainer$ctl00$txtChangeReason')
    
           if (reasonForChange != null) { 
    
                if (reasonForChange.value == null || reasonForChange.value.length == 0) {
                     UI_Ext_MarkFieldAsRequired('ctl01_SpecSummaryctl1_ctlCollapsibleContentContainer_ctl00_lblSpecSummaryReasonforChange');
                     alert('Reason For Change is required');
                }
           }
        }
    }); 
    

    However, not the user registration or workflow specification. If you were to do this, you must remove record them and workflow buttons and links, and this probably isn't the best practice. On the contrary, you would write validation server that would give you this error message if they try to save/workflow. (So most customers do not use Extensions of the user interface for this type of validation).

    Kind regards

    Ron

  • Find a component inside the jsf fragment using javascript in adf

    Hi all

    I use jdeveloper 11.1.1.5.
    I want to find a component inside my frgament of jsf using javascript.
    Inside the jspx page, I was able to find the component using
    AdfPage.PAGE.findComponentByAbsoluteId ("ID");

    Now my requirement is I have a fragment of jsf, and I want to find the component within jsf frgament using javascript.

    I'm looking for the component.


    Please suggest

    Thank you

    Published by: Navin K December 21, 2011 16:24

    Hello

    fragments are displayed in the ADF regions, which are containers of naming. So a good strategy would be to first find the region

    var region = AdfPage.PAGE.findComponentByAbsoluteId("regionId");
    
    if(region != null){
    
      var comp = region.findComponent("ID");
      ...
    } 
    

    Another option would be

      var comp = AdfPage.PAGE.findComponentByAbsoluteId("regionId:ID"); 
    

    If you have a side handle server for the component, and then a third option exists, which is to call getClientId on this element and pass the customer ID to the JavaScript (for example af:clientAttribute)

    Frank

  • How to get the value of the global element using javascript or ajax!

    Hello!

    How can I read at global(point application created in the shared components) using ajax or javascript?
    You can imagine that I need to get the value of this element by function as:
    -----
    Function getText() {var itemVal = $x ('MY_GLOBAL_ITEM') .value;}  Return itemVal; }
    -----
    .. .but I can't do it because it is not made to couse of the page it is global element! so, anyone know no work around to do?
    I know that I can make point page and read the value of that, but not what I really need!
    If I have 100 pages and all pages need to use my function, it would take 100 Articles :) - that's why its no good average!

    Please, share your ideas!

    THX

    Rafix,

    You must use a little AJAX to retrieve a request element value. Three steps in this solution. Implementation of a callable JavaScript function, creating an application process on the request and call the JavaScript function with dynamic action.

    1 set up a JavaScript function that can be called by:

    This function calls the process of application level which has a visibility of the element of your application and then returns the value of points.

    Edit your page and JavaScript code according to the code in the 'function and Variable global statement' of your page. You can also add to the model page, that you use, but you also have to encapsulate this code in the script tags.

    getAppItem = function(pItemName){
        var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=GET_APP_ITEM',$v('pStepId'));
        get.addParam('x01',pItemName);
        gReturn = get.get();
        get = null;
        return gReturn;
    }
    

    2. creating an application on request process:

    The application of level process has visibility to your application-level element. It is to retrieve the value of points and it prints the htp buffer. Essentially, this acts as a way to return the values of AJAX calls (the javascript function we set previously);

    go to the shared components > procedures > Create.

    Point process: "We Demand: run this application...". »
    Name: GET_APP_ITEM
    Type: Anonymous PL/SQL block

    declare
       -- get the item name passed into the JavaScript function.
       app_item_name varchar2(30) := apex_application.g_x01;
    begin
        -- print its value to the buffer
        htp.p(v(app_item_name));
    end;
    

    3. call the JavaScript function with dynamic action:

    The function call allows to specify an application-level element name and have its returned value. The trigger event is specific to what you need, but the action must be of type to run JavaScript code. In my case immediately the value of P1_NUMBER to my value of demand points. This code doesn't have to be in a dynamic action, but it helps to stay organized. you could call it from any script tag.

    $s('P1_NUMBER',getAppItem('MY_APP_ITEM'));
    

    See you soon,.
    Janet Tyson

  • ?? on the pop-up using javascript

    I run a pop-up window by using the following script.

    locate.onRelease = function() {}
    getURL ("javascript:n_name = window.open (' http://www.wesitename.com/webpage.cfm ',' name_name1 ',' width = 720, height = 330, scrollbars = yes);") ("void (0);");
    }

    For now, all my links loading in the same window popup... but if this window is not closed for (example if it has been reduced) by the user, and the user clicks another link for this popup... He remains behind the homepage instead of coming forward again...

    My question is... Is - this here anyway for you ensure that this browser window comes to the front when the update with a new click?

    Thanks in advance

    -Me

    chess4thestupid wrote:
    > I run a pop-up window by using the following script.
    >
    > locate.onRelease = function() {}
    >
    > getURL ("javascript:n_name = window.open (' http://www.wesitename.com/webpage.cfm ',' n )")
    (>_ame_name1','width=720,height=330,scrollbars=yes'); void (0); ");
    > }
    >
    > From now all my links loading in the same popup... but if this window
    > is not closed for (example if it has been reduced) by the user and the user...
    > click on another link for this popup... He remains behind the homepage rather than
    > come forward again...
    >
    > My question is... Is there anyway to make sure that this browser window is
    > the front when the update with a new click?
    >
    > Thanks in advance

    You can change the name_name1 for each link to Name3 name_2 and so on.
    Using the same name of the window, you load content in the same window, using new
    name automatically dials request completely new and new pop.

    --
    Concerning

    Urami

    --

    Happy new year guys - all the best there is in 2006


    http://www.Flashfugitive.com


    http://www.Firefox.com

  • How to display the context menu using javascript in application of apex

    Hi all

    y at - it someone who has set up a context menu using javascript in its request for apex. We may be able to open other pages I need when clicking on items in the context menu.

    Please answer as soon as possible. I will be very grateful to you all.

    Published by: user12259335 on November 23, 2009 01:18

    Hello
    Sorry, you are right, I don't send you all the :), but I have a request - could you just give me your email address to send you the code.
    Tahnks

  • How to know the DB objects using the particular storage space

    Hi all

    I have a tablespace that is used by different database objects.
    I want to know what objects use this tablespace.
    How I know this?



    Thank you

    I have a tablespace that is used by different database objects.
    I want to know what objects use this tablespace.
    How I know this?

    Select nom_segment, nom_tablespace, segment_type, owner of dba_segments where nom_tablespace ='&TBS';

  • How to change the title for the alert box using javascript in Blackberry Z10?

    Hi all

    I developed 10 Blackberry webworks using the emulator to ripple and Blackberry Webworks SDK 1.0.4.11.In I use box alert and drop-down list in Javascript... When you use those Blackberry Z10... It displays the title for the alert "JavaScript Confirm" box and the "Select"dropdown list... So I want to change the title for these controls. Please me... Thanks in advance...

    Kind regards

    Marimuthu_P

    Alerts are native OS controls and you can not change the titles.

    You can use the WebWorks dialog API to create custom if dialog boxes:
    https://developer.BlackBerry.com/HTML5/APIs/beta/BlackBerry.UI.dialog.html

  • Using the variable obtained using JavaScript in a widget

    Hi again

    I found this useful bit of JavaScript code that gets the name of active users of an LMS and sets it to a variable in a Captivate course.  [the link below for anyone interested]
    I have seen that variables can be used in the Widgets but I can't make it work.

    I have defined the variable as ActiveUserName ($$ActiveUserName$ $ in list dropdown widget) but it shows that $$ActiveUserName$ $ if I'm the test or on a LMS System.  Same result with an entry box.

    Someone has already tried this before or know a way to do this please?

    Thank you

    As promised, the JavaScript link on behalf of active users of traction: display name of your LMS using Adobe Captivate to the 6.x - CaptivateDev.com student

    Captivate 7 and 8, the Captivate defined variable user cpQuizInfoStudentName made for you.

    With regard to the drop-down list widget, you cannot use a variable in the comma delimited list to display to the user. The result when the user makes a selection in the list can be assigned to a variable.

Maybe you are looking for