How to change the name of a component with javascript?

Hi, I need to dynamically change the label of a component. I tried:


If (document.getElementById('P34_ID_OPERACION').value == 2) {}
document.getElementById('P34_ID_USUARIO_DEST').label = ' meeting:';
}

If (document.getElementById('P34_ID_OPERACION').value == 3) {}
document.getElementById('P34_ID_USUARIO_DEST').label = ' otro text:';
}


but does not work.

any ideas?

Published by: Andres Vilallave on 16-mar-2010 12:49

Hello

Edit the article and you enter the text for the Lable

 Your Lable 

and change the javascript code for

if (document.getElementById('P34_ID_OPERACION').value==2) {
document.getElementById('label_id').innerHTML = 'Encargado:';
}

if (document.getElementById('P34_ID_OPERACION').value==3) {
document.getElementById('label_id').innerHTML = 'otro texto:';
}

Kind regards
Shijesh

Tags: Database

Similar Questions

  • How to change the name of provisioned resource account

    Hello

    In the custom connector that we have currently in place when an account is put in service the name of the account appears as a random value.

    How do change the name of the account funded from this random number to some loginid to say name invalid.

    Thanks in advance.

    Try the following steps:

    To change the name of the account to the account user id, you can follow the instructions below:

    1. open the form of the process of the resource that you want to display the user id as the name of account, instead of this strange number for example. UD_IPNT_USR

    2. create a new version of the form.

    3. go in the Properties tab.

    4. Select the user ID property and click on add property button.

    5. Select the account name and the value is false.

    6. save the form and make the version active.

    7 connect to IOM self-service console, select a user with iplanet account for her. You can see the user id of the account in the account instead of the strange number name,

  • How 2 change the name of image, including its .xmp file?

    How 2 change the name of image, including its .xmp file?

    I suppose that if I change image file name, the file '.xmp' that accompanies it will no longer an appropriate reference to associate. Also, I guess I can just simply change the name of the image file and give its eponymous .xmp. That means, for example, if I have:

    "This1stPhotoOfJane.dng" and "This1stPhotoOfJane.xmp"

    and change their names manually:

    "JanePhoto1.dng" and "JanePhoto1.xmp"

    It would not work.

    So is the simple way to do it?

    I have a bunch of files that I forgot to name who have already gone through the raw editor and now I would like to give them a real name as opposed to a single series of numbers they currently have.

    You should be able to bridge, since by default, the file of the side car is hidden. I think he knows enough to rename both.

    Copy the image and the file in a temporary folder, rename it and check that it actually did. If I myself remember copy or film a raw file would also move or copy the file, then it would be a good time to check that as well.

  • How to change the name of the Siebel server

    How to change the name of the Siebel server?
    Hi, I want to know how to change the name of the siebel server. In my setup, the siebel server have the same name as the physical server and I need change the name a virtual name.
    Thank you!
    Greetings!

    It is not possible to rename a siebel server, you must use the Setup Wizard to remove the current siebel server and re-create it with the new name required. Check the Doc ID 1106863.1 on support.oracle.com.

    Thank you

    Wilson

  • How to change the name of VirtualSwitch without running virtual MAchines of braking?

    Does anyone know how to change the name of the virtual switch (used by VM) without braking the VM running in this cluster?

    The best way to do this without losing network connectivity is add a group of ports with the new name and connect the virtual machines to the new group of port and when the initial group of port is empty remove - remember that it's the port group named not the vswitch.

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

  • How to change the name of a NSX-32GT1?

    How to change the name of a NSX-32GT1? We have two at home, and when we try to use the google tv app. Two televisions appeared.

    The same thing happens with matching of youtube and it app. It shows the same name for two TVs. "Google tv".


  • How to change the name of the report server?

    How can I change my name of report server that is normally generated by the combination of server Name_OracleHome. But can I use a different name for my report server and I need to change the configuration files?

    How can I change my name of report server

    See Paulo Esteves answer in How to change the name of the report server?

  • How to change the name of the file in the AS2 protocol

    Hi gurus B2B

    We send a purchase order (850) to our supplier, he received successfully by them, but for all transactions (files) that they receive the same file name (5020). We use the AS2 protocol (please help me how to change the name of the file)

    If its generic protocol of his work, but in the AS2 protocol there is no option to set the file name

    Need help please

    Concerning
    CNU

    Hi ALAIN,

    Never worked with BSE (However, I worked with OSB), but it looks like you are enquing the name of the action two times. Please queue using code below and let us know the result - please







    In fact the last ACTION_NAME header must contain the value of file as well as the content type name. (you try to add a new header actionName is not that good)

    Kind regards
    Anuj

  • How to change the extensions on several files with Windows 7?

    * Original title: Extentions

    How to change the extensions on several files with Windows 7?

    You hear no doubt, is that your movie software will only recognize certain types of image file formats.  If this is the case, you will need to reformat format files to any format PNG is recognizable by the software.

    Rather than we guess, please identify your «film» software

    Download and install IrfanView, which is a free utility for images.  http://www.IrfanView.com/

    IrfanView has the ability to read a great many formats of image files.  It can also convert image files formats.  And even better - for you - it can do all these things on a batch of files.

    As test, after I installed IrfanView, open one of your PNG files.  Now click on file > save as, and select the 'Save as Type' to be little matter the file type of your movie software will accept.  Save the file.  Make sure your movie software can accept the new file.

    Once you are convinced that you can modify files that you have in a format that you can use, use IrfanView

    File > Batch Conversion/Rename command.  If necessary, see IrfanView help on this topic.

  • How to change the name of iWatch

    For some reason when I bought the new iPhone 7 and complete matching, it has the wrong name.  I must say my name and my husband.  I have looked at everything in the watch/phone and may not know how to solve this problem.  Anyone has any ideas on how to get my name back?

    Thank you

    J

    Hello

    On your iPhone, in the application of the watch, go to: Watch My > General > topic > name - change the name as desired.

  • How to change the name of my iphone to Apple ID to my name

    I used my wife Iphone up to my don't we arrived, but now to the Northeast there name my wife Icloud. How do I change my name without leaving Icloud?

    You can change the name of your phone in settings > general > topic > name

  • How to change the name of the device (MacBook Air) to a new owner?

    How can I change the name of the device (MacBook Air) to a new owner?

    You change the name of the computer in the sharing preferences, if that's what you ask the subject. If this isn't the case, then be clearer on what you need to know.

    If it is a computer newly purchased but used, then wipe you the drive and reinstall the original version of OS X that comes with it. So let the new owner set it up: what to do before you sell or give away your Mac - Apple Support.

  • Start Windows - unlock the computer screen - how to change the name that is displayed?

    I have fixed a older laptop.  It works very well.  But at the start, the old owner name appears in user name (no password required).  It is a small irritation but still...  I tried to go under control panel users and I changed administrator to my name, but it has not changed the other name at startup... ideas?  Thank you!

    Hello

    Here's how you can accomplish this:
    a. click on edit accounts in the choice of a task list box.
    b. click the account you want to change.
    c. Select the element you want to change:
    d. click on change the name to change the name that appears on the Welcome to the account screen.

    How to create and configure user accounts in Windows XP
    http://support.Microsoft.com/kb/279783

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to change the name of the windows task bar?

    Hi all

    I want to change the name of the task bar in my laptop.
    no idea how to do, please help me.
    Concerning
    Karthik M

    This option is not available in Vista and Win 7.

    I'm sorry.

  • How to change the name of user profile

    Original title: change of name to issue... help

    On my computer, my user profile will appear like this: THEDIAMONDMINE\Mrs Campbell Ali, how can I change the part of Ms. Campbell Ali?

    Hello


    This is an administrator account?
    You cannot change the name of the user profile to the location of the file. But instead of this, you can create a new user account and then transfer data from user profile (Ali Campbell of THEDIAMONDMINE\Mrs) for the new account and can set the new user profile name. You can see the following link.
    Create a user account
    http://Windows.Microsoft.com/en-us/Windows-Vista/create-a-user-account
    To copy data from user profile for the user account, you can see the following link.
    Difficulty of a corrupted user profile
    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile
    See the section: to copy files to the new user profile
    It will be useful.

Maybe you are looking for

  • HP P6540f - BIOS doesn't support AHCI for newly installed SSD with OS Win 7

    I cloned the drive hard 1 TB of origin provided with OS win 7 x 64 in a blusher SSD Samsung 500 b Bank and replaced the HDD with SSD.  The BIOS does not accept the AHCI mode for this drive and it only accepts the RAID.  Only SATA1 is acrive on this S

  • Satellite-C70-A-119 - keyboard and touch pad down

    on win 8.1 keyboard and pad are more functional, maybe was an update of the autopilot. I tried to remove the battery, reinstall the drivers. I am writing with visual Ko, boring. USB works well. What can I do?

  • T320 Server Enterprise HARD drive options?

    I recently bought a T320 which I will incorporate a home server, to perform a variety of roles (Media Server, file / print etc.) It is pretty basic and has the controller RAID H310 and 8 3.5 "hot-swap bays. I would like to put together a reasonably r

  • HAVE WINDOWS 7 PRO BUT LOST CD

    Lost CD I bought with my computer. My computer has been altered. The it Department had only Windows 7 Home version. I don't have the product key for the operating system Windows 7 Professional. Microsoft could help me restore the OS Windows7Pro or th

  • BlackBerry Wifi classic takes into account people with disabilities

    All my wifi accounts have for some unknown reason unilaterally disabled themselves.  I went on the account I use normally and tried to turn it into active, but it does not work.  I've restarted both my router and my Blackberry.  The router works fine