Javascript To Hide/Show Complete LOV Item On Page

Hi All,
I am trying to show/hide a page item which is a LOV page item type. I was using the $f_Hide_On_Value_Item which does not hide LOV image. What should I use to accomplish this ? It has to implemented in Javascript. Any help appreciated ...
Tom

Hello Tom,
>> Are there other options ???
There are usually other options :)
Scorpio idea is a good start, although I‘m not sure his code cover the label of the LOV item. I think for that you should go one level up in the DOM. Using the ID suggestion he gave you, try using the following line:
$x('popUp').parentNode.style.display = 'none';That should hide the entire ‘tr’ the LOV item is on.
Hope this helps,
Arie.

Similar Messages

  • Using JavaScript to Hide/Show Items

    Hello
    Trying to use Javascript to check a List Item value.
    IF List Item value IS NULL THEN
    HIDE some other items
    ELSE
    SHOW some other Items
    I managed to locate some code to determine a NULL value.
    This works and I even can display a an alert message
    When I attempt to Hide the other Items, nothing happens
    Any Help on this matter - Urgently required for a Deadline
    Here is the code I am using :
    function show_InvestigatorData(){
    var lCheck = html_SelectValue('P1000_INVESTIGATOR_ID');
    // if Investigator populated, show the Investigator fields
    if(lCheck &&
    lCheck != '' &&
    lCheck != 'null' &&
    lCheck != '' &&
    lCheck != ' '){
    alert('this value is ' + lCheck);
    html_ShowItemRow ('P1000_INVESTIGATION_START_DATE');
    else {
    // otherwise hide the Investigator fields
    alert('this value is null');
    html_HideItemRow ('P1000_INVESTIGATION_START_DATE');
    Many Thanks in advance
    Ade

    Ade,
    Carl Backstrom has a great sample site with examples of what I believe you are trying to accomplish:
    http://apex.oracle.com/pls/otn/f?p=11933:5:661046971170606::NO:RP::
    From either the menu or the index, select Javascript and then "Show/Hide/Toggle Form Items".
    Hope you don't mind the plug Carl.
    MovingTarget

  • Javascript help - Hide/Show a page item

    Environment:
    APEX 3.1.00.09 running on AIX 5.3
    Sample application on apex.oracle.com:
    Workspace: GALWAY
    UserID: gwicke
    Password: gwicke
    To see where my issues are:
    1- Start on page 3
    2- In the Agency drop down select 'J & B Marketing'
    3- In the Contract drop down select the only contract that appears
    4- Click on 'Edit Existing Contract'
    5- Note the page item 'LY Closings' has the value 261
    6- Click on the link (really a tab in my theme) at the top labeled 'Cost Detail'
    7- The 'Estimate Justification' is the page item to be displayed/hidden as noted below.
    8- The 'Homes Per Year' under the 'YEAR1' column is the user input page item
    9- The P2_BUILDER_CLOSINGS (value 261 noted above) is the page item to be used in the comparison
    I need to do a couple of things with a potentially hidden page item:
    1- Every time the page loads I need to check to see if the page item (P8_ESTIMATE_JUSTIFICATION) is not null and if it is indeed not null, make it displayed.
    2- When the user enters a value in another page item (P8_HOMES_PER_YEAR1), call a function to see if that value is more than 120% of another page item (P2_BUILDER_CLOSINGS) and if so make the above page item displayed (P8_ESTIMATE_JUSTIFICATION).
    I have the javascript function created (showHideEstimateJustification) and in the HTML Header of the page. The function is being called currently with an onChange check on the page item entered by the user as noted above (P8_HOMES_PER_YEAR1).
    Issues:
    1- I need to force a SUBMIT after the user enters the value for P8_HOMES_PER_YEAR1 so it is available in session state and hence to the javascript function (other ideas welcome!)
    2- I am currently using the x.style.display = 'inline' versus 'none' to hide/show the page item, where x is derived from var x = document.getElementById(P8_ESTIMATE_JUSTIFICATION) Is there a better way????
    Any help is greatly appreciated.
    -gary (a.k.a. Javascript newbie)

    Hi,
    Only your messages use the session state. The code would use the entered value, but you would need to change:
    var homes = parseInt(document.getElementById('P8_HOMES_PER_YEAR1'));to
    var homes = parseInt(document.getElementById('P8_HOMES_PER_YEAR1').value);so that "homes" becomes the numeric version of the value of the item
    Normally, for the label, you would just enter an ID="xxx" into the HTML Table Cell Attributes for the label which you can then use in your javascript. For some reason this doesn't seem to want to work in this page.
    What you could do is find all the labels and then check which is the right one before showing/hiding it. Something along the lines of:
    var xx = document.getElementsByTagName("LABEL");
    var zz;
    var label;
    for (zz = 0; zz < xx.length; zz++)
    if (xx[zz].htmlFor == 'P8_ESTIMATE_JUSTIFICTION")
      label = xx[zz];
    xx[zz].style.display = 'none';
    {code}
    Andy                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to hide/show a menu item?

    Hi,
    Pls suggest how to do this:
    There is one book( say "one") and one page (say "two") on the portal, which are displayed to user as menu items.
    The book has two pages ( say 'a' and 'b'), which are shown in the menu dropdown of "one". I want to show the menu item "two" only if the user selects 'a' and hide it when select 'b'.
    meny item 'b' is a page with one portlet.
    Pls suggest.
    thanks

    You can implement this with backing files.
    See http://e-docs.bea.com/wlp/docs81/ipcguide/backing.html for further details.
    --Stefan                                                                                                                                                                                                                                                                           

  • Hide/show region, keep value between pages ?

    Hi,
    I'm using APEX 3.2.1 with Oracle 10g on Windows XP Pro SP3.
    I have 2 menus (regions) who can be hidden or shown by clicking on an image (like in some IDE). The following javascript is called on the "onClick" event :
    function visibilite(region,image) {
         if (region.style.display == "none")
              region.style.display = "" ;
         else
              region.style.display = "none" ;
         if (image.src.indexOf('gauche.png',1) == -1)
              image.src = image.src.replace('droite.png','gauche.png');
         else
              image.src = image.src.replace('gauche.png','droite.png');
    }It works perfectly, but when I navigate to an other page, the menus are obviously shown by default...
    So I just want to keep the value from the previous page to show or hide my menus in the current page.
    I can add page item in all pages and assign value using the url, but it seems not optimized as I will have a lot of pages (>100).
    I can use an application item too, but I tried and I can not assign a value from javascript, and I don't know if it's a good solution as it will force me to call the javascript function just after the menu will be shown, to quickly hide it.
    does anyone think of another solution ?
    Thanks.
    Yann.

    Create a Page 0 item which will be available on all pages.OMG yes I can use items in page 0 ! I should have think of that :/ Shame on me.
    Application item values can be set from JavaScript using AJAX and an On-Demand Process.Yes I already tried ajax with ODP, my getappitem() function works but my setappitem() function won't assign value to application item, but it's not a problem now, I removed the ajax part and I will use page items :D
    Thank you fac586.
    Yann.

  • Hide/Show Dynamic Action Stopped Working

    Good Morning,
    Once I upgraded my application to Apex 4.2.2, my dynamic action stopped working. It worked fine in 4.1.
    I also used javascript to hide/show my fields.
    code below
    <script language="JavaScript" type="text/javascript">
    function onPgLoad()
    //hides reporting select, unless certain utcs are selected they are selected
      var ForceGenUTCSrch = $v('P310_FORCE_GEN_UTC_SRCH');
      var RptMenu         = $v('P310_REPORT_MENU');
    if  (RptMenu == '1'&&(ForceGenUTCSrch == '0GTAA' || ForceGenUTCSrch == '8MMUB' || ForceGenUTCSrch == 'CCMAR' || ForceGenUTCSrch == '0GQGC' || ForceGenUTCSrch == '0GQGB' || ForceGenUTCSrch =='3NNNA' || ForceGenUTCSrch == '3PQAA' || ForceGenUTCSrch == 'XMCAS' || ForceGenUTCSrch == '8NJAA' || ForceGenUTCSrch == 'XMMCB' || ForceGenUTCSrch == '9VCBH' || ForceGenUTCSrch == '3PNAA' || ForceGenUTCSrch == '3PLFA' || ForceGenUTCSrch == '3PMAA' || ForceGenUTCSrch == '3NSAA' || ForceGenUTCSrch == '8NHAA' || ForceGenUTCSrch == 'CBSAD' || ForceGenUTCSrch == 'CCVAA' || ForceGenUTCSrch == '9VDLB' || ForceGenUTCSrch == '3NHAA' || ForceGenUTCSrch=='1HDAA' || ForceGenUTCSrch=='0EZ99' || ForceGenUTCSrch=='0JZ99' || ForceGenUTCSrch=='1AZ99'|| ForceGenUTCSrch=='9YZ99' || ForceGenUTCSrch=='CUZ99'))
        var get = new htmldb_Get(null,null,'APPLICATION_PROCESS=PROC_UTC_RPRTG_ORG',0);
       gReturn=get.get();
        $x_ShowItemRow('P310_FORCE_GEN_RPRTG_ORGN');
       else
         $x_HideItemRow('P310_FORCE_GEN_RPRTG_ORGN');
    </script>
    <script language="JavaScript" type="text/javascript">
    function FunSelUTC()
    //hides reporting select, unless certain utcs are selected they are selected
      var ForceGenUTCSrch = $v('P310_FORCE_GEN_UTC_SRCH');
      var RptMenu         = $v('P310_REPORT_MENU');
    alert(RptMenu);
    if  (RptMenu == '1'&&(ForceGenUTCSrch == '0GTAA' || ForceGenUTCSrch == '8MMUB'|| ForceGenUTCSrch == 'CCMAR' || ForceGenUTCSrch == '0GQGC' || ForceGenUTCSrch == '0GQGB' || ForceGenUTCSrch =='3NNNA' || ForceGenUTCSrch == '3PQAA' || ForceGenUTCSrch == 'XMCAS' || ForceGenUTCSrch == '8NJAA' || ForceGenUTCSrch == 'XMMCB' || ForceGenUTCSrch == '9VCBH' || ForceGenUTCSrch == '3PNAA' || ForceGenUTCSrch == '3PLFA' || ForceGenUTCSrch == '3PMAA' || ForceGenUTCSrch == '3NSAA' || ForceGenUTCSrch == '8NHAA' || ForceGenUTCSrch == 'CBSAD' || ForceGenUTCSrch == 'CCVAA' || ForceGenUTCSrch == '9VDLB' || ForceGenUTCSrch == '3NHAA' || ForceGenUTCSrch=='1HDAA' || ForceGenUTCSrch=='0EZ99' || ForceGenUTCSrch=='0JZ99' || ForceGenUTCSrch=='1AZ99' || ForceGenUTCSrch=='9YZ99' || ForceGenUTCSrch=='CUZ99'))
         //alert(ForceGenUTCSrch);
        var get = new htmldb_Get(null,null,'APPLICATION_PROCESS=PROC_UTC_RPRTG_ORG',0);
       gReturn=get.get();
         $x_ShowItemRow('P310_FORCE_GEN_RPRTG_ORGN');
       //  $('#FORCE_GEN_REPORT1#').show();
       else
         //alert(ForceGenUTCSrch);
         $x_HideItemRow('P310_FORCE_GEN_RPRTG_ORGN');
        // $('#FORCE_GEN_REPORT1#').hide();
    </script>
    javascript: onload="onPgLoad();"I kept the code just in case I needed it @ a later time.
    My Dynamic Action
    Event: on change
    item --> :p310_force_gen_utc_srch (this is a select list that submits)
    conditon --> in list
    value --> '0GTAA', '8MMUB', 'CCMAR', '0GQGC', '0GQGB', '3NNNA', '3PQAA', 'XMCAS', '8NJAA', 'XMMCB', '9VCBH', '3PNAA'
    True Action --> show :p310_force_gen_rprtg_orgn
    False Action --> hide :p310_force_gen_rprtg_orgn
    They both fire on page load.
    The :p319_utc_srch has submits the page because the :p310_force_gen_rprtg_orgn lov runs a query to pull back that units reporting orgs only.
    Please help me figure this out.
    Thanks,
    Mary
    Edited by: MaryM on May 10, 2013 10:52 AM

    Hi Mary,
    So you changed from the code presented to a DA ? I'm not clear as to exactly happens or doesn't happen.
    Do you know if your AJAX calls are failing?
    If you use a Console like the one on Firebug or Chrome you can inspect what's being send and what's being returned.
    I mention this because your htmldb_Get calls looks suspicious.
    var get = new htmldb_Get(null,null,'APPLICATION_PROCESS=PROC_UTC_RPRTG_ORG',0);I would change it to
    var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=PROC_UTC_RPRTG_ORG',$v('pFlowStepId'));That would pass the app_id and the page_id that is calling. Although this is probably not your current issue.
    See if you can find some javascript error. It's possible that this is a timing problem as to when the code is defined and when it's loaded.
    Thanks
    -Jorge

  • Problem in Hide/Show in a Table Row

    Hi,
    i have to create 4 pages and each page has a table region with displaying records and a column "LINK" to go to the next page with the parameters from that record. Every link has a batchId and one another Id as parameter to next page. The next page reads the parameters and queries the corresponding table for details of that results table region contained in that page.
    Thus i have 4 pages with 4 table regions and each table region is associated with a view object which is based on an EO connected with a database table. (4 VO's).
    Now in every table i have a detail region (hide/show) which shows error records for a row ....
    thus there are 4 ViewLinks for all 4 VO to a single ERROR VO.
    I have 4 instances of ERRORVO in AM like ERRORVO1, ERRORVO2, ERRORVO3, ERRORVO4.
    Now, the hide/show region is working properly on the first 3 pages with proper navigation to pages.
    Then, i created the 4th page and created the table region in the 4th page.
    From the 3rd page i have passed 2 parameters through the link and also retainAM=Y.
    i have captured both parametres and call a method to populate data in table of 4th page.
    Successfully done..running properly....
    Now i added the detail region which is a table as previous pages in the 4th page with ERRORVO4...
    Then when i run the page i get the 1st page and thrugh link i move to 2nd and to 3rd page. But when i click on the link on 3rd page to move to 4th page i m getting "NullPointerException" with "check Inner table properties"
    Now i removed the detail region (Hide/show) only from the 4th page and again run the page . its working properly for all 4 pages with proper navigation but i am not able to see errors with hide/show on 4th page and it is required.
    i m not getting what could be the reason...
    do i need to remove retainAM=Y from the page navigation links.?????
    and is there anything like we cant create more no. of instances (4) of a single VO in an AM.....????
    Any alternative for showing the errors on 4th page with Hide/Show or without Hide/Show????

    Thiago,
    Thanks for the quick reply.
    I am now getting the following error below:
    Am I suppose to add another field to my VO select?
    oracle.apps.fnd.framework.OAException: Detail View Attribute Name is not set for the table even though a detail named child has been specified. Please specify a Boolean or String ("Y" or "N") view attribute for this table property.
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1146)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1794)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)

  • Hide Show, Programmatically in Seeded page.

    Hi All,
    I have to add one hide show region in a standard page advance table region. The following are the steps i followed.
    Created one custom region for the detail Region.
    Created the custom VO for detail region.
    Created a vie link between the seeded VO and custom VO
    Imported this custom region
    Extended and substituted the base page VO to add one more column for the hide/show.
    Extending the controller i applied the detail Region to the base page Table using setDetail method.
    When i run the page, Its showing the hide/show column and also the detail region - but its throwing the error View object not found ( Custom VO for custom detail region) and showing no search conducted in detail table. Since the Application module of the page is Root Application Module, i cant extend it. So i cant substitute the AM.
    Is the approach i am trying to follow is correct?? Any help/suggestion will be highly appreciated.
    Regards,
    Ram

    Urgent Issue... ..
    Any help Please..

  • Validation on items in Hide/Show Region

    I have a validation on an item that is in a hide/show region. I display all my errors in-line with the field. When the validations fires, after the page is submitted, the hid/show region is closed so the user can't see the error. Is there a way in the validation to open the hide/show region so the error can be seen? I had tried this in my validation, but it doesn't work.
    htp.p('<script language=javascript>
    document.getElementById(' || '''' || 'P507_REPORT_SCHEDULER' || '''' || ').style.display=' || '''' || 'block' || '''' ||
    '</script>');

    Hi,
    You can try below steps:
    1) In PR, get handle to Hide Show bean.
    OADefaultHideShowBean hsb = (OADefaultHideShowBean)findIndexedChildRecursive("beanID") ;
    2) Expand the bean by using 'setDefaultDisclosed' property.
    hsb.setDefaultDisclosed(pageContext, Boolean.TRUE) ;
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Hide show button and textual area via Javascript or jQuery

    Hi folks am Apex newbie using 4.0.1 on Vista laptop running OracleXE (for dev purposes)
    A quick desc of what items are on the page of my Helpdesk appkication and what I want to achieve ..
    I have a Progress region defined on the page - with textual areas and some region buttons.
    Details are have 2 textual areas in my region - 1st textual area shows current progress (this is read only).
    Second textual region is where IT person will type latest progress on Helpdesk prob (ticket).
    There is a region button Save Progress Text which when pressed will append text from textual area 2 into textual area 1 and
    also appends text e.g date / time / userid etc of progress text added.
    This all works fine.
    Have added a new region button - call it Enter Progress Text - which I would like when pressed will make textual area 2 and the Save Progress Text buttons visible.
    I can hide and show the textual area 2 via $X_show / hide but cannot for life of me hide the Save Progress Text button.
    I also tried to make a subregion holding textual area 2 and the Svae Progress Text button but again via Javascript / jQuery could not hide the subregion.
    Can someone please tell me the syntax of how to hide via Javascript / jquery as can't find anything much at all in the Apex online documentation.
    Many, many thanks as always.
    P.S Don't want to use dynamic actions or hide / show region as want there to be buttons on screen to make things explicit for user hence my desire to use Javascript.
    Wiggywig

    Hi,
    If its a page item then you can use below script to hide it.
    <script type="text/javascript">
        $x_HideItemRow('Put your item name');
    </script>*Put this code in page footer..                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to get the return value of a LOV item using javascript

    Hello,
    I am trying to put an onchange attribute in the HTML Form Element Attributes field of a LOV item. The javascript should access the new return value of the item. How is this done ? All the methods I have tried give only the display value, not the return value. For example $v() returns the display value.
    Tiina

    If your item is called P1_ITEM this will give you the return value of a popup (displays description,returns key value)
    alert($x('P1_ITEM_HIDDENVALUE').value)
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • How to conditionally hide/show form item for multiple requests?

    Ver 4.1.0
    Hi There,
    I have a database form where in one of the fields I need to hide /show based on if the user selects a copy row option or create a new row.
    To explain in details,
    1. I have a report and form application created. When the user edits a record, in that page I have added a copy button also, so when the user hits the copy button, the page is reloaded where the user can create a new record with the save button disable and the create button visible. when the user submits the form using Copy the request is set to "COPY' and in the form, one of the fields has conditional display "REQUEST =Expression1" with value "COPY" This works fine.
    2. However, on the reports page, there is a "CREATE" button also, where the user can directly create a new record and the request value is "CREATE"
    I wanted to add both COPY and CREATE to the conditional display something like
    "REQUEST=Expression1" with value "COPY, CREATE" (without quotes)
    however, the item does not display. I guess it only accepts one value since its =.
    Any suggestions on how the conditional display for an item can be done based on multiple request types?
    Thanks!
    Sun
    Edited by: ryansun on Oct 18, 2012 3:08 AM

    Hi Sun,
    Try changing your condition to a PL/SQL Expression and in expression 1 field add something similar to below and see if it works:
      :REQUEST like 'CREATE' or :REQUEST like 'COPY'This is straight off the top of my head and untested.
    Hope this helps
    Paul

  • Javascript and hide and show.

    Is there any way to hide single item on the form (not region)?
    I have tried to hide an item based on the condition.
    I have radiobutton with value 1 and 0 so I have created on click event that check its value and hides item but:
    the item that I want to hide is a date item with the datepicker option. What happens that item is hidden but label and datepicker icon stays.
    here is the code
    function HideAndShowElement(fieldName,elementNameToHide)
    if(html_RadioValue(fieldName) == 0)
    $x_Hide(elementNameToHide);
    else
    $x_Show(elementNameToHide);
    Any suggestions?
    Robert

    Hello,
    $x_Hide(elementNameToHide); will only hide the element.
    To hide label .. edit the label of the itme.eg. suppose lable is MY_LABEL make it
    [span id="my_lable_id"]MY_LABEL[span] ( replce [ and ] with < and > )
    and make ur javascript code to
    $x_Hide(elementNameToHide);
    $x_Hide('my_label_id');
    Regards,
    Shijesh

  • Hide and show Control Panel Items in 2008 R1

    Hi,
    we have Windows Server 2008 DC's and Terminalservers. I try to hide the control panel items from Users via GPO.
    Using GPO: Show only specified Control Panel items
    First I tried: main.cpl,@2 for showing Printers -> didn't work! Then I saw there are new canonical names for control panel items.
    Microsoft.Printers -> Didn't work
    Microsoft.DevicesAndPrinters -> Didn't work.
    What can be wrong with it. I tested it where only this policy is set. If I use only main.cpl I get the mouse and keyboard, so the policy ist definitly used and read.
    Any Help here? We don't have 2008 R2 .(

    This GPO feature seems extremely unreliable.
    See these docs:
    http://msdn.microsoft.com/en-us/library/ee330741(v=VS.85).aspx
    http://msdn.microsoft.com/en-us/library/cc144191(v=VS.85).aspx#CommunityContent
    The following have worked for me, WITHOUT the Microsoft prefix...
    Keyboard
    Personalization
    Mouse
    Fonts
    Printers
    The following do not seem to work under any condition!
    FolderOptions
    Microsoft.FolderOptions
    DateAndTime
    Microsoft.DateAndTime
    AudioDevicesAndSoundThemes
    Microsoft.AudioDevicesAndSoundThemes
    EaseOfAccessCenter
    Microsoft.EaseOfAccessCenter
    MobilityCenter
    Microsoft.MobilityCenter
    SpeechRecognition
    Microsoft.SpeechRecognition
    ColorManagement
    Microsoft.ColorManagement

  • Hide/Show the items in form

    Hi all,
    I am having one form in oracle apex3.1 and having some form elements like below.
    ================================
    NAme : textbox
    job : radio botton with (freshor,experieced)
    year of experience : tx
    if i select the experienced from job radio , i have to display "year of experience : tx" otherwise no need to display that row.
    =================================
    Please help me . i am trying last one month . Please give me step by step procedure.
    Thanks in advance.
    Regards
    Dhanush.R

    function onchange_jobtype(pValue) {
         var empIdFField      ="P2_REM_EMP_ID";
         var empNameFField     ="P2_REM_EMP_NAME";
         var contNameFField      ="P2_REM_CONTRACT_NAME";
         var empIdlField           ="L_P2_REM_EMP_ID";
         var empNameLField     ="L_P2_REM_EMP_NAME";
         var contNameLField      ="L_P2_REM_CONTRACT_NAME";
         if(pValue=="None") {
              html_HideElement(empIdFField);          
              html_HideElement(empIdLField);
              html_HideElement(empNameFField);          
              html_HideElement(empNameLField);
              html_HideElement(contNameFField );          
              html_HideElement(contNameLField);
         else if(pValue=="Employee") {
              html_ShowElement(empIdFField);          
              html_ShowElement(empIdLField);
              html_ShowElement(empNameFField);          
              html_ShowElement(empNameLField);
              html_HideElement(contNameFField );          
              html_HideElement(contNameLField);
         else if(pValue=="Contract") {
              html_HideElement(empIdFField);          
              html_HideElement(empIdLField);
              html_HideElement(empNameFField);          
              html_HideElement(empNameLField);
              html_ShowElement(contNameFField );          
              html_ShowElement(contNameLField);
    From above JS, I am able to hide/show the Textfields. But i am not able to hide/show the Label . Already I have created the Label and set the addition id.
    Please suggest me , how can i proceed on this ?

Maybe you are looking for

  • Not able to do goods receipt in MIGO

    Hi, While doing goods receipt for process order through MIGO, system gives me an error "The document xxxxxxxxxxx does not contain any selectable item".Suppose if it is MB31 we can solve the problem by tick the "suggest zero lines"but for MIGO what we

  • Standard text printing missing on Smartform

    Hi All, I am using standard text in Smartform. Standard text contains 'terms and conditions' hence it's used for printing in second page. For printing standard text one window other than Main window has been created in second page. Now when I am taki

  • All the sytem objects  & JCO connections not working in Portal

    Hi, Can any body tell me, Last we we had copied the client copy from EIK 100 ( Production R3 server ) to EIT 900( Testing R3 server). From that movement.All the System object which are created in portal server to access the EIT 900 in R3 servers not

  • Anybody  has answers???

    I do have three questions Would be great if someone clears them . How can I insert data from a table to 3 tables at the same time in pl/sql? What oracle does internally for a query like select * from dept; What is Row migration ? I shall be grateful

  • Error message when attempting to download library ebooks

    I have encountered a problem downloading ebooks recently. I get an error message E_AUTH_BAD_DEVICE_KEY_OR_PKCS12. I am able to open the books and read them on my PC but can't download them and move them into my Nook.