Disable/hide the message text element image of a field of text in javascript

Hi friends,

I added a text of element position for one of the textfield object in my page as
<img src="#IMAGE_PREFIX#ws/small_page.gif" onclick="javascript:popUp2('f?p=&APP_ID.:99:&SESSION.::NO::P89_select:2', 500, 500);" />
Which will display a page when click the image

I want to disable the textfield depending on certain conditions. I do it in javascript. The text field is disabled
but the message text image is present and is clickable. I want to hide or disable the image displayed in the message as well item. Is it possible to do so. Help, please

Thank you
TJ

Hello

If you try to hide the entire line where the point is?
http://download.Oracle.com/docs/CD/E14373_01/apirefs.32/e13369/javascript_api.htm#CHDIIJHG

Or it works if you wrap your article to the div tag and try to hide
Add to the text of item pre

end post text element


and change your javascript to hide id Px_ITEM_CONTAINER

BR, Jari

Published by: jarola February 2, 2010 08:58

Tags: Database

Similar Questions

  • Lightroom displays all images from a folder - it displays the message '45 65 images, selected 45' and 45 messages do not appear in the grid of the library, but I can't see the remaining images of 20. All filters are disabled...

    Lightroom displays all images from a folder - it displays the message '45 65 images, selected 45' and 45 messages do not appear in the grid of the library, but I can't see the remaining images of 20. All filters are disabled...

    Hello

    Please go to the library Module, then click on the picture in the Menu bar and then click the stacking.

    From there please select expand all stack them.

    It should show all the images if they are virtual copies.

    Kind regards

    Tanuj

  • How is Samsung TV, possible to permanently hide the message that explains how to use Air play via Apple TV?

    How is Samsung TV, possible to permanently hide the message that explains how to use Air play via Apple TV?

    Apple Tv has the conference room mode turned on causing the message to appear.  Turn it off:

    On restrictions of airtime and the mode of the conference room on your Apple TV - Apple Support

  • The Message text on maybe more big Mac box?

    The Message text on maybe more big Mac box?  Is it possible to increase the size of the message text box (the window you type in) when using iMessage on a Mac?  I find it weird that even when iMessage is open to full screen on my Mac, the area or window in which I type my message is tiny and located at the bottom of the screen.  3/4 of the screen is literally not used.  I wish I could enlarge the size of the box, or at least move it to the top of the screen.  Is this possible?

    Hello

    Partly Yes.

    20:32 Monday; February 1, 2016

     iMac 2.5 Ghz i5 2011 (Mavericks) 10.9
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro (Snow Leopard 10.6.8) 2 GB
     Mac OS X (10.6.8).
     a few iPhones and an iPad

  • Is it possible to convert the selected text in javascript lines?

    Hi all

    I put a word to indesign cs 5.5 file is almost in a single table, I need to separate the text of the actual tables, is it possible to convert the selected text in javascript lines?

    If there is no way to do that, someone can help me to make a script to cut selected lines and place it in the right holders of the table pointer to make independent table and then convert to text?

    Hey brother,

    Simply select the rows or cells represent the lines and then run this Javascript code snippet:

    for (var r = 0; r < app.selection.length; r++) {
        for (var t = 0; t < app.selection[r].rows.length; t++) {
            for (var u = 0; u < app.selection[r].rows[t].cells.length; u++) {
                for (var c = 0; c < app.selection[r].rows[t].cells[u].paragraphs.length; c++) {
                    app.selection[r].rows[t].cells[u].paragraphs[0].move (LocationOptions.AFTER, app.selection[r].rows[t].parent.parent.storyOffset);
                    if (c < app.selection[r].rows[t].cells[u].paragraphs.length - 1)
                        app.selection[r].rows[t].parent.parent.storyOffset.contents += "\r";
                }
                if (u < app.selection[r].rows[t].cells.length - 1) {
                    app.selection[r].rows[t].parent.parent.storyOffset.contents += "\t";
                }
                else {
                    app.selection[r].rows[t].parent.parent.storyOffset.contents += "\r";
                }
            }
        }
    }
    for (var r = 0; r < app.selection.length; r++) {
        for (var t = app.selection[r].rows.length - 1; t >= 0; t--) {
            app.selection[r].rows[t].remove ();
        }
    }
    
  • the system cannot find the message text for message number 0 x in the message file

    Hello

    I use the MKLINK command to share a public directory in my file server for all organizational units.
    After I set the NTFS permissions on the server, I can open directories related to all the directories of the OU but in client windows XP to return this error window:

    "The system is not message text for message number 0 x in the messages for \\Filesrv2\IT\Public file.

    Thank you for your time

    Hi Babak,

    The issue of Windows is more complex than what is generally answered in the Microsoft Community Forums. Appropriate in the TechNet Forums. Please post your question in the TechNet Forums.

    You can check the link to post your question:

    http://social.technet.Microsoft.com/forums/en-us/winservergen/threads

    I hope that helps!

  • Conditionally display and hide the input text

    JDev 11.1.1.5.0

    I have two texts of the PROFILE and the SCORE entry.

    SCORE is displayed only if my PROFILE is E or F.

    And if it must be hidden once the value of the PROFILE is replaced by another value.

    In addition, please note SCORE field should be mandatory if the PROFILE is E or F.

    Here is the code I tried so far:

    < af:inputText value = "#{bindings." Profile.inputValue}.

    label = "#{resources." Profile} ".

    required = "true".

    columns = "#{bindings." Profile.hints.displayWidth}.

    maximumLength = '1 '.

    shortDesc = "#{bindings." Profile.hints.ToolTip}.

    ID = "it94" autoSubmit = "true" >

    < f: validator binding = "#{bindings." PsamProfile.validator} "/ >"

    < / af:inputText >

    < af:inputText value = "#{bindings." Score.inputValue}.

    label = "#{resources.score} '"

    required = "#{bindings." Profile.inputValue is 'E' or links. Profile.inputValue == 'F'} '.

    columns = "#{bindings." Score.hints.displayWidth}.

    maximumLength = "#{bindings." Score.hints.Precision}.

    shortDesc = "#{bindings." Score.hints.ToolTip}.

    ID = "it164".

    visible = "#{bindings." Profile.inputValue is 'E' or links. Profile.inputValue == 'F'} '.

    partialTriggers = "it94.

    contentStyle = "" text-align: left; ""

    autoSubmit = "true" >

    < f: validator binding = "#{bindings." Score.Validator} "/ >"

    < af:convertNumber groupingUsed = "false".

    model = ' #{bindings. " Score.format} "/ >"

    < / af:inputText >


    I tried to use a component parent and using rendering attribute for the NOTE field as explained in https://blogs.oracle.com/Didier/entry/only_rendered_adf_faces_compon, but it did not always help.

    Ah, OK, in that case you ave to use the showRequired instead of the required property and validate the score field once you submit the data or in the model.

    You can't have both. Once the message appears you have erase as you otherwise cannot continue to work. Showrequired shows the * before the label but does not check.

    Timo

  • Disable/hide the smart shape buttons

    I use Cp 8.0.1.  I am trying to disable and hide the buttons of smart shape to go to the next/previous slide until a specific time or a situation that happens.

    Smart shape buttons still work even if disable them you or hide them, even if you do not see them. Is there a way to do this?  Thank you.

    Hello

    Are you talking about intelligent form buttons that exist on a slide Master?

    If you don't want a smart shape on a regular slide button to be 'available' to the point of a while, you just configure so that the starting point is when you want on the timeline, as shown below:

    See you soon... Rick

  • Hide the message #error of a column member

    Hey guys,.

    The issue is mainly the member formula column displaying the message of basic #error in the cell to intentionally to play with the values. It is quite natural, but I'm looking to hide this error message, if I forgot how. I'm sure it's pretty simple.

    I use Hyperion 11.1.2.1.0.83

    Thanks again!

    Published by: 922290 on March 20, 2012 22:40

    Published by: 922290 on March 20, 2012 22:51

    You could have a look at the next post to get ideas, this is not exactly the same question but can help to Re: #error online formula of the form sum([1])/2
    There is also the IsError function, more info on http://docs.oracle.com/cd/E17236_01/epm.1112/hp_admin/apcs03s09.html

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Contacts are absent, but can add to the message text?

    When I open my contacts on my iPhone 6 (iOS 9.2.1) I'm missing most of them.  However when I go to messages and a compose a new message, I can type in the name and it will appear (but it wasn't in my contact list).  I'm guessing that somewhere a timing problem?  Any ideas?

    Sync you your contacts with your iCloud backup?

    If the answer is "Yes" - connect to iCloud.com and check to see if your contacts are here

    If they are - back on the phone - settings - iCloud - control contacts

    Say yes to the message that those who will be removed from the phone

    Restart the phone

    Settings - iCloud - Contacts - rocking on IT


  • Hide the instructional text when printing paper

    I have the following scripts in my field Acrobat PDF document properties so the explanatory text will appear so empty and disappears if the user types in the area.  After completing the form, print us a paper copy, and everywhere where there is an empty field, the explanatory text prints too.  How can we prevent this impression?   Thank you in advance for your help!

    Custom Format script for the text field

    If (! event.value) {}

    1. Event.Value = "instructional text goes here";
    2. Event.Target.Display = display.noPrint;

    } else {}

    1. Event.Target.Display = display.visible;

    }

    The update script:

    If {(event.target.value is event.target.defaultValue)

    1. Event.Target.Value = "";
    2. event.target.textColor = ["RGB", 0/255, 255/153, 51/255];
    3. event.target.textFont = 'MyriadPro Regular. "
    4. event.target.textSize = 0;

    }

    The script of blur:

    If (event.target.value =="") {}

    1. Event.Target.Value = event.target.defaultValue;
    2. event.target.textColor = color.gray;
    3. event.target.textFont = "MyriadPro-It."
    4. event.target.textSize = 0; This means Auto

    }

    As I mentioned before, the scripts on Focus and blur do not work with the script Format. Using just a Format script in testing, you will be able to simply test the script that sets the field to print or not, which is what you posted on.

  • How to hide the default text once the departure of the user to type the value?

    Hi all

    I use JDeveloper11.1.1.4. My scenario is that I have the login with the username and password fields page. Need to field of password to display the default, text give your password here! Start the user to type the password for the default text should be disappear. (E.G. Gmail login page). Is this possible in the components of the ADF, or I need to use JavaScript to achieve this scenario.

    Thank you

    David

    Hi David,

    See also Oracle ADF | WebCenter tips tricks and experiences: watermark to display on af:inputText in ADF 11 g using javscript

    Thank you

    Nitesh

  • Disable / hide the "Historical Record" Option for the end user

    Dear people,

    Is it possible to 'Turn OFF' / 'HIDE' option "Historical Record" form according to the level of responsibility/user/site.

    All form = Help Menu = historical Record (Option)

    Or is there an option to HIDE Menu "help" for all users or user or site level or level of responsibility?

    Thank you.

    Configuration:
    R12: 12.0.4
    DB: 10.2.0.3
    Multi node

    Kind regards
    Taj

    Hi Mohammed,.

    In my view, there is no option of profile to hide the "Historical Record". This can be achieved through CUSTOM.pll (using "SET_MENU_ITEM_PROPERTY").

    See the following document for an example on how to hide from the CUSTOM CODE in the Help menu.

    Note: 1068804.6 - How to hide the "CUSTOM CODE" Option in the menu of the USER GUI
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=1068804.6

    Note: 1005502.6 - HOW to REMOVE THE MENU 'WINDOW' Oracle FORMS MENU CUSTOM?
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=1005502.6

    Note: 744065.1 - Sample Code to customize Applications CUSTOM library
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=744065.1

    Kind regards
    Hussein

  • How to increase the size of the message text style in the OPS

    Hi all

    I moved the region of the table, I use a text element of style message, I need to increase the size of the element.

    I tried with the definition of properties such as the maximum length and width, but does not.

    Kindly do the needfull help.

    Kind regards

    Sangu

    Hello

    Try by setting the width of the column of table % like 50% advance property to increase the size of this column that I think possibly increase the size of the bean style.

    BR, FLS

  • Centro-vivid shrink automatically when sent or received in the message text

    I recently got a new unlocked palm centro and noticed my palm centro from sprint friends received and sent tiny pictures.

    and my phone send and receive photo that filled the entire screen as it should be.

    I added some programs on my friends phone and then synced mine save them on my computer, now my phone receives and sends images of size tiny stamp now.

    When I send a picture especially one big text, I see a message that says "optimize image" when I think that its being narrowed.

    How can I fix this please. Ive looked everywhere for the answer and try something difficult with already without success.

    does anyone have this problem with their centro? pictures of tiny size stamp.

    Thank you

    Thank you, but even when I save the image on my phone I have receiev in a text. the file is still 160 x 120 size or smaller. It will appear in the middle of the screen with black around her after I save on my phone. I can't enlarge the image even when I play with the options 'display '.

    any help would be greatly appreciated. my phone didn't used to do that before.

    If I send a picture of myself, I get it shriveled up also.

Maybe you are looking for