label of an element is not hidden when using $f_Hide_On_Value_Item

Hi friends,

I use the apex javascript '$f_Hide_On_Value_Item' function to hide an element of text field 'P72_T1' when the value of P72_S1 is I_VAL1. I put the line in the form of P72_S1 HTML element attribute.

OnChange = "$f_Hide_On_Value_Item (This, 'P72_T1', 'I_VAL1')". "

But only the textfield assosiated with this item (P72_T1) hides when you select the value "I_CAL1". Label the assosiated with this text field is still visible.

I am able to hide the label when you use the script

OnChange = "$f_Hide_On_Value_Item_Row (This, 'P72_T1', 'I_VAL1')". " But as there is more than one item in the same line I am not able to use it. Please help me solve this problem.

Kind regards
TJ

Published by: tj2010 on 06-Sep-2010 03:43

Hello

It should work with IE8 and FF 3.6
I do not guarantee that it works.

function Hide_Item_and_Label_By_Value(t,p,v){
 var j=document.wwv_flow.getElementsByTagName('label').length;
 for(var i=0;i;if($x(p).id==l.getAttribute('htmlFor')||$x(p).id==l.getAttribute('for')){break;}}if($v(t)==v){$x_Hide(p);$x_Hide(l);return true;}else{$x_Show(p);$x_Show(l);return false;}}

Probably I did invent wheel again, but learn something =) 

Regards,
Jari                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        

Tags: Database

Similar Questions

  • value of the element is not common when used in dynamic action

    I'm learning the 5 apex and I wanted to create a page that would update the fields in a record by entering the unique id of the recording using a dynamic action with plsql.

    When I click on the button update the value of the element of the text uses the previous value and not the input current. The 'works' update, but the ID values are not appropriate.

    How can I make sure that when I click on the update button, the dynamic action will get the current value of the text element and not the previous (when the page was submitted)?

    I created a quick demo or what I was testing in apex.oracle.com and always gives me the same result.

    dacoellov wrote:

    I'm learning the 5 apex and I wanted to create a page that would update the fields in a record by entering the unique id of the recording using a dynamic action with plsql.

    When I click on the button update the value of the element of the text uses the previous value and not the input current. The 'works' update, but the ID values are not appropriate.

    How can I make sure that when I click on the update button, the dynamic action will get the current value of the text element and not the previous (when the page was submitted)?

    I created a quick demo or what I was testing in apex.oracle.com and always gives me the same result.

    What dynamic action event and what types of action are involved here? Provide details, or better yet share identification information of developer comments for the apex.oracle.com workspace so that we can see the demo.

    If the dynamic action executes an SQL statement or a PL/SQL process on the server that requires page updated element values in session state, specify these items as part of dynamic action Page to submit items .

  • Change in 2013 Excel formatting Options are not visible when using high Windows - why contrast themes?

    I am currently using the theme of white high contrast Win 7.  However, in Excel 2013, many formatting options do NOT work, when using this theme:

    1. Fill color
    2. Font color
    3. Conditional formatting
    4. Colors tab

    To reproduce this problem, using Excel 2013 with a Windows high-contrast theme, whatever we have to do is:

    1. Select a cell and try to change the fill color.  It does not work.
    2. Type the text in the cell, and then try to change the color of the font.  It does not work.
    3. To implement conditional formatting for this cell.  It does not work.
    4. Try changing the color of the tab the active tab at the bottom of the worksheet.  It does not work.

    It would seem that, if the high contrast themes have been made to ease of use for those who have poor vision, whereas they should be able to change the options in shape in Excel to make things more visible within their own documents.

    I understand very well that changes in the end formatting options will appear if the user switches to another theme of Windows, but who certainly defeated the purpose of using a theme of contrast in the first place.  Why should they play this user switch to a different theme of Windows just to see the changes he made, using the Windows high contrast theme?  Why the user does NOT agree to see the changes that he or she has filed in formatting options in Excel 2013, when you use a high-contrast theme?

    The user with special vision must assets concerns of colors.  Excel will meet your needs for a higher contrast (black and white pure) at all costs in order to ensure the highest possible contrast.

    Microsoft do not escalate this, it works as expected.

    I don't think you are right to say that this is normal.  When you use OneNote in high contrast black it allows indeed to the colors of different fonts, it is just an oversight or a bug of Microsoft on not supporting the themes of their office software.

  • Serial number not accepted when using disc to download on the second computer.

    Serial number not accepted when using download ot CS6 drive to the second computer. Help...

    Make sure that you enter the correct serial number to the correct product: http://helpx.adobe.com/x-productkb/global/find-serial-number.html

    If you are sure that you do this, contact support adobe technique: http://www.adobe.com/support/chat/ivrchat.html

  • Containing the height of the element does not Change when the browser text size increased.

    http://www.imagesandwords.org.UK/Les/pages/coursesMentalHealth.php

    So, that ' s the page and this question is on the menu bars.

    When I increase the text size in the browser, most of the page holds together, but as far as I can make out (in FF) the element < ul > increases with the size of the police but the < div > with this element is not.  Then, it seems that the background image protrudes outside the container < div > and it's ugly.

    QA), this is what is happening?

    QB) I can fix it?

    Thank you very much

    Martin

    Your chart of menu is quite simple. Try to replace your sprite image with borders and background colors.

    .menu
    {
    Auto margin: 0;
    padding: 0;
    height: 30px;
    Width: 100%;
    Display: block;
    background: Green;
    border-top: 2px solid Brown;
    border-bottom: 2px solid Brown;
    }

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics |  Print | Media specialists
    www.Alt-Web.com/
    www.Twitter.com/ALTWEB

  • Outlook has started to get a connection not approved when using firefox

    Outlook started having no reliable connection error when using firefox. Not sure why it started, but all the few minutes that it times out and I have to re - open outlook from google. He does not receive this error on IE or firefox android. I use win 7. I talked with microsoft and they say it's a problem of firefox not outlook.

    I tried the things:
    -Updated firefox
    -Updated antivirus
    -antivirus scans
    -disable the anti-virus
    -from firefox in safe mode.
    -clear all the cache and history
    -Disable all add-ons
    -system restore
    -past by mistake "untrusted connection" on the help of mozilla (does not solve it. There is no option to allow the certificate)
    -search on the net for a similar problem (found nothing)

    So far, it has been like this for a week and its starting to piss me off as it happened out of the blue.

    I solved the problem for someone else who has the same problem.

    Options - troubleshooting information - reset firefox

  • Google results is not accurate when using Firefox

    After that I installed Chrome, when I used the search on Google with Firefox, the results have been distorted. For example, when I searched for Netflix using google on Firefox, the home page does not appear. When I used google on Chrome or IE, Netflix home page would then appear as always. The results were the same, using any keyword, like Yahoo, Ebay, etc. Is there a reason for the change of the algorithm when using google and Firefox?

    You seem to be signed in to Google, so it is possible that Google stores your search history and offers you "customized" links.

    Is there a difference in when you're not connected?

    So, you can check the parameters of Google to see if web history is enabled (click on the gear icon in the form on the page of Google results).

  • Satellite A660 - Webcam does not work when using Skype

    I recently bought a Satellite A660-15J. I am running Windows 7 64 bit.

    I have the latest version of Skype (5.3.0.111).

    The integrated Webcam does not work when you run Skype. If I run the Toshiba Web Camera Application the webcam works fine. However, when I test it in Skype, I get a message saying "cannot start video. Try quitting other programs that use the webcam '.

    However, as far as I can tell there no other programs available. I have tried Skype with the Web Camera Application clised & open. I also confirmed that I do run the latest version of the program.

    One of the main reasons we have this laptop is to use Skype video... Help, please.

    Disable webcam application start-up and exit this application before you start Skype.

    I used Skype many different models of laptops, including friends A660 and it worked correctly.

    When you open Skype video settings is listed as default camera USB webcam?

  • computer Dell laptop will not work when using battery

    Original title: my pc dell 1564 model. Act when I remove the battery (with adapter only), but when I fix the battery, it is not turn on

    my pc dell 1564 model. Act when I remove the battery (with adapter only), but when I fix the battery, it is not turn on

    Hello

    It is best to get the laptop battery checked from Dell or a local technician. It seems that the battery is dead and does not load when you insert it into the laptop.

    However, you can try to update all drivers installed on the laptop (including the motherboard) and check if it makes a difference.

    http://Windows.Microsoft.com/en-in/Windows7/update-a-driver-for-hardware-that-isn ' t-work correctly

    Navigate through the common troubleshooting steps of http://www.dell.com/support/troubleshooting/us/en/04/KCS/KcsArticles/ArticleView?c=us&l=en&s=bsd&docid=266588

    http://FTP.Dell.com/DIAGS/R66243.htm

    Hope this information helps. If you have any questions, please let us know.

  • Invoke the activity do not dehydrate when using retry policy fault

    When the political use of fault with retry behavior, invoke activities are not being dehydrated properly (even if we use idempotent = false on the functioning of partnerlink).

    This poses a problem if the process is in "canceled at the last point of dehydration" - given that dehydration doesn't is not made.

    If the Invoke is successful on the first invoke (do not have to use the strategy of fault and retry behavior), he's dehydrated properly, and if the process at a later stage makes a point of dehydration cancellation exist properly.

    So it seems to be linked to the fault policy and other code running, or perhaps some properties have not been set properly (__Non-db-persist?).

    No idea how to solve this problem?

    We use SOA Suite 11.1.1.7

    According to Oracle support, political fault retry and with idempotent = false are not compatible.

  • Hyperlink window not Visible when using anchor

    Hello community, for some reason my window for a hyperlink became inactive when using anchors. I had some problems of Muse today and did a re-install Adobe Muse CC.jpg without success. Any ideas?

    George

    Hi George,.

    The hyperlink menu appears only after you select an object that can be a hyperlink. If you have selected the object anchor, hyperlink option, it will go away because it is not a hyperlink. If you click on a button, object shape, picture, or text, the hyperlink option should appear on the right.

    I hope this helps!

    Emily

  • receive ' make order not aviaible when using actions)?

    When using my actions of sky, I receive the order does not make available anyone can help please?

    This type of error occurs when a condition sine qua non of the action about to be executed step is not met. For example, a layer or another object may be selected where this step will be performed. Knowing what stage this error occurs on we will tell more about what should be done. The solution might be to perform an extra step (for example, you need to have created a selection before performing the action). This step may be a prerequisite to the implementation of the action or an additional step that can be added to the action to prove this error to appear.

  • JavaFX 2.2 initialize is not called when using ControllerFactory

    Is there a reason why the initialize method is not called when specifying a controller factory (by calling FXMLLoader #setControllerFactory) instead of an instance of a controller (via FXMLLoader #setControllerFactory)? By the "initialize" method, I mean one of the following:
    public void initialize()
    @FXML private void initialize()
    @Override public void initialize(URL, ResourceBundle) /*as defined in the Initializable*/
    Published by: 951674 on August 8, 2012 12:27

    First of all, I'm not using the static version of the load method. I call class #getResourceAsStream not the #getResource class.

    Well Yes, you are right. I read it too fast. See? Source of confusion. ;-)

    But just to repeat what said Tom - Yes, fx:controller is always necessary, even if you specify a controller factory. The type specified by the fx:controller attribute is the type that is passed to the factory. If you do not specify a type of controller, then the plant is not called.

  • New Mac: Why CC and Photoshop Elements do not work when Lightroom and Reader are very good

    Last week, I changed computers (an old Mac to swap for a 13 - in MacBook Pro OSX Yosemite 10.10.3 running retina. I copied all my data on the new machine using Migration Wizard.

    All the programs work very well (including my copy of Lightroom 3 and XI player). But my CC and Photoshop Elements 10 are not. I tried to uninstall both, but every time I try to reinstall PE10 of its disk or download it stops just almost at the end I have so I "initiation failed" appears, accompanied by a request to download the app "Support Advisor" defunct!

    I can't download Adobe Application Manager or the application of Office CC is - for the first, I get a "Logon failure" message, with the app "Download Support Advisor" "message again! For the latter I get a message saying "Adobe Creative Cloud is necessary to solve this problem - but it is missing or damaged." Then I get a message and a link to download Creative Cloud. When I downloaded it and I click on the Setup... it works a little bit and then I get the message again: "Adobe Creative Cloud is necessary to solve this problem - but it is missing or damaged." And I get a prompt and link to download the app CC guess what will happen? And it continues. And so forth, in a tedious circle.

    It's incredibly annoying and frustrating that I have work to do! Someone has ideas of what's going on?

    See you soon

    K

    do not migrate to install adobe programs.

    You must uninstall and clean up everything that you did, use the CC cleaning tool to resolve installation problems. CC, CS3 - CS6

    then dl the application of cc to your new desktop computer and use it to install your programs cc adobe Download Adobe Creative Cloud apps | CC free trial Adobe

    If you have adobe without subscription programs, use the installation for them files:

    Available downloadable Setup files:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • Chart not hidden when it should be

    Hi guys,.

    I have two selection lists on my page that allow null values. These select lists are part of the SQL statement to generate a graph. Now, what I thought I had done was done so that this ugly thing (http://xs141.xs.to/xs141/09305/no_data875.png) did not happen and the region would not be displayed if the 2nd list was void (*).

    Now what I've done is made the regional graphic conditional on the fact that P7_DB_LIST (the 2nd list) is not zero. Now it works in 2 cases: first loading of the page and if I am currently looking at a database and then I click on * (null). However, he does not hide the graph if I consult a graph and then I change the name of the project instead (which is what I did the screenshot even if the display of the database is *.)

    Popular solutions.

    Edit: For this, as I expect with the following process:
    DECLARE
    BEGIN
    :P7_DB_LIST := NULL;
    END;
    However, it makes null to everytime. All I want is for her to do when the project drop-down is clicked but it doesn't seem like you can check for buttons. I then tried to do a button but I cannot make hidden and will have to interact with the selection list. Can you do a check in PL/SQL as
    IF: YOU CLICK P7_PROJ_LIST: P7_DB_LIST: = NULL;
    Something like that...

    Mike

    Published by: Gerd on July 24, 2009 04:22

    Just this throw out there - if you have a set list to submit on change (I forgot the wording), when it is changed, then the query variable gets the value of the name of the list (P7_PROJECT_LIST). You can have a calculation after submitting that resets the 2nd list NULL when the condition is that demand = the name of the first list. So in the part of the condition of your calculation, choose request type and put in P7_PROJECT_LIST. So whenever you get the first list change and only when you change the first list will be that it reset to null.

    I am not connected to the time to try this out, but I think it's the right idea I hope, give it a shot.

Maybe you are looking for

  • is it possible to use external memory to increase the performance of my computer?

    I have a slow xp and each program/app/files in an external drive.But I want to know if I can improve the performance of my control memory left him in the external drive.

  • DMA2100 cannot find wireless networks

    Hello I just unpacked it 3 DMA2100 to use at home with my HTPC. I started to configure the first DMA2100 but are struggling to find my wireless network. A network is found, and it's the ISP´s Internet router that goes right in the Internet (and so I

  • upgrading from vista to 7 oem

    Hello world. I have a laptop that comes with a pre-installed OEM Windows Vista Home Premium 32-bit (not), and I wanted to upgrade to Windows 7, which I believe should also be Home Premium. In addition, I want to do a clean install. 1. can I upgrade t

  • After the recent update of Win7, computer will not remain in hibernation

    After a recent update of Windows (probably to fix something else), my computer refused to stay in hibernation.This is a 64 bit machine running Win7 Pro, and he wakes up now randomly after going into hibernation.I tried using 'powercfg' to see what is

  • Update stopped KB272913 Internet to work.

    Original title: KB272913 stopped my internet update works.  ND installed then only the remaining 15 updates without any problem. How do I overcome this. G.F. On 08/07/12 I automatically downloaded and installed security updates for Internet Explorer