How to disable Java script - a popup window

the code below works for enabledisable of the text box, but now the text box is a window popup, what should I do for that please help ' Doug


function enableDisable (pValue)
{

If (pValue == ' / ')
{
document.getElementById("P4_END_ITEM_DESC").disabled = false;

}
on the other
{
document.getElementById("P4_END_ITEM_DESC").disabled = true;

}

}



footer
< script language = "JavaScript" >
enableDisable (document.getElementById('P4_END_ITEM_DESC').value);
< /script >



onBlur = "javascript:enableDisable (this.value); "

Hello

Popups are built differently in normal page, items are somewhat more complicated to disable.

Try something like:

function disablePOPUP()
{
 var r = html_CascadeUpTill('P1_ITEMNAME', 'FIELDSET');
 var img = r.getElementsByTagName('IMG');
 var i = r.getElementsByTagName('INPUT');
 i[0].disabled = true;
 img[0].style.visibility = 'hidden';
}

Note that this disables the input field, but hides the icon

Andy

Tags: Database

Similar Questions

  • How to disable the iconifibility of a window?

    How to disable the iconifibility of a window? like the resizability can make. So, the behaviors of the window as a dialogue or a popup with the only ability of resealable.

    Hello

    the button "iconify" individually is not possible now, we followed the request here: https://javafx-jira.kenai.com/browse/RT-31903

    For the contextual dialog box which is only at closing, you can use UTILITY step style:

    Stage popupDialog = new Stage(StageStyle.UTILITY);
    
  • How to disable the log on the windows sound?

    How to disable the log on the windows sound?

    Hello

    To disable startup sound in Windows XP, follow these steps:

    a. click Start, click run, type mmsys.cpl and then click OK.

    b. click the sounds tab.

    c. under program events, click Windows logon.

    d. in the sounds box, click (none)and then click OK.

    See also: change Windows XP sounds

  • How to fix java script errors

    Java script error messages / hoe to fix?

    Java script error messages / hoe to fix?

    See if this tutorial may be of no help to you:

    How to fix JavaScript errors
    http://www.ehow.com/how_5579654_fix-Java-script-errors.html

    Here is the link to google where you can find many articles about it:
    http://www.Google.ca/HWS/search?hl=en&client=Dell-row&channel=CA-PSP&IBD=0071218&q=how+to+repair+Java+script+errors&submit=Google+search For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • How to disable the Welcome screen in windows 7 Home premium

    original title: disabling the welcome in Windows7 home premium screen.

    How to disable the Welcome screen in windows 7 Home premium. Therefore, type the user name and password when connecting

    Hello

    1. If you have Windows 7 Professional or ultimate edition, open the Group Policy Editor and navigate to the following policy.

    Computer Configuration / Windows Settings / Security Settings / Local political / Security Options.

    In the right pane, double-click the policy:

    Interactive logon: do not display last user name - change to "Enabled".

    2. If you have the Home Premium version, you can set this policy using the registry.

    * Make sure that you back up the key before making changes

    Open Regedit and navigate to the following location.

    HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem\\\

    In the right pane, locate the dontdisplaylastusername value. Double-click this value and change the value to 1 data. Click OK.

    If this value is not present, right-click and select new/DWORD (32-bit) Value.

    Name the dontdisplaylastusername (respect for case-sensitive) value, and then make the above change.

    Here is a screenshot of the login window.

    http://i196.Photobucket.com/albums/aa86/rvmv/ManualLogOn.jpg

    Let us know the results.

    Concerning

  • How to disable the test mode on Windows 7?

    Hello

    I read an article on how to get rid of the test mode on windows 7 and the suggestion was to download fixit from windows.  My problem is that the slider runs constantly and I can't click on anything to start the download.  Any suggestions?

    Hi Mona,.

     
    Thank you for visiting Microsoft Community.
     
    I understand that you have found a water test mode on the Windows 7 computer brand.
     
    Test mode is a mode that aims to install drivers that are not tested.
     
    For several build of windows 7, that this mode and disable this, you can follow the article below:
     
     
    To fix the rotating cursor around constantly please follow the suggestions below:
     
    This problem may be caused for the following reasons:
     
    Third-party applications.
     
    Temp folder is full.
     
    1. What is the number of brand and model of the computer?
     
    2 have you recently made any changes to the computer?
     
    To resolve this problem follow the methods below:
     
    Method 1: Clean boot
     
    Put your system to the clean boot state helps determine if
    any third-party applications or startup items are causing the problem. You
    need to follow the steps in the article mentioned below to perform a cleanup
    Boith
     
    How to perform a clean boot in Windows
     
    http://support.Microsoft.com/kb/929135
     
    Note: After troubleshooting, see the section "how to reset the computer to start.
    "normally after a boot minimum troubleshooting.
     
    Use this procedure to disable all the third-party application and Microsoft services will be activated.
     
    Method 2: Disk clean
     
     
    Following this article, you can delete the temporary files that is on the computer.
     

    Additional information:

    How to disable the "Test mode" message that is displayed in Windows

    Hope this information helps. For all other windows-related assistance,

    Do not hesitate to contact us and we will be happy to help you.

  • How to disable the lock feature in Windows 7

    How do disable you locking on windows 7 it will automatically lock after a short period of time and I would like to disable this option.

    Right-click on the desktop and select Personalize.

    Bottom right, select the screen saver.

    Uncheck the box that says 'Resume to display login screen'.

  • Installed by windows error 8 in 2 comp. How to disable the product key/uninstall windows 8 laptop in order to install and use on your PC

    I just bought a new windows 8 CD. It has been stated in the CD that I can use to download/install up to 5 times. So I installed windows 8 to my PC and my laptop. I had matched in the product key to my laptop, after I tried seizes the same product key to my PC, which results in an error whichn I had discovered later that you can only use 1 product key for 1 comp.

    So my dilemma is now I want to use the product key on my PC and not on my laptop. How to disable the product key/uninstall 8 windows in my laptop so I can use the product key on my PC since I use my PC more.

    Also there is a time at which I should activate my windows 8 on my PC? because I'm afraid I'm not able to use it and I will get blocked by microsoft until I can fix this error.

    Please help me on how I can solve this problem.

    Thank you

    Press the Windows key + X

    Click prompt (Admin)

    At the command prompt, type: slmgr.vbs - upk

    Press enter, this will uninstall the product key of the computer and to the evaluation mode, you are now free to use it on another computer.

    On the computer where you want to enable Windows 8, you will need to reactivate by phone:

    1. press the Windows key + X , and then clickrun, and then type: slui.exe 4

    2. then press the ENTER"" key.

    3. Select your "country" in the list.

    4. choose the option "activate phone".

    5. stay on the phone (do not select/press all options) and wait for a person to help you with the activation.

    6. explain your problem clearly to the support person.

  • enable/disable Java script power without clicking through menus?

    tried with active Word, but did not lack ability to jump (scripted) content in the Options menu... Do manually what the script is supposed to do works very well, but runs the script leaves unchanged Java script option

    Hi carsten, you could try an addon as follows: https://addons.mozilla.org/firefox/addon/quickjava/

  • How to disable the automatic updates of windows and to update on demand

    At the same time, I had disabled the automatic updates of windows and updated on demand by opening windows update.  Where is the place to activate and deactivate the automatic updates of windows.

    It worked.  Thank you!

    I wasn't able to get automatic updates to download a microsoft windows update.  The fix for microsoft in default mode indicated that he needed to be repaired and that fixed it.  When windows update was used again the update has failed once again.  The fix even that it was then run in aggressive mode and with a recheck has failed to correct the problem.  At each restart, automatic updates took the time to start producing a yellow shield and then pop-up reminders.  So thank you to help us with these questions to disable the automatic updates of windows.

    Thanks for posting the results of your efforts, I don't know they will be read and appreciated.

    UTC/GMT is 15:27 on Thursday, October 6, 2011

  • How to disable the tool cutting on Windows 7?

    I want to disable the cutting tool in Windows 7...

    can anyone suggest?

    You can stop him running through the strategy of group if you Windows 7 Professional or later.

    HowTo uninstall Snipping Tool in Windows7
    http://social.technet.Microsoft.com/forums/en/w7itproinstall/thread/cad80df7-77c2-4D57-A130-f68a7f90406e

    This can give you a hint to do this via the registry if you have Windows 7 Edition Home Premium or less.

    Do not capture tool run
    http://www.group-policy.com/ref/policy/2647/Do_not_allow_Snipping_Tool_to_run

  • How to disable the automatic backup in windows 7

    I changed to 'never' backup scheduler, but again, the computer saves the data and invites me to insert a disc for the copy of the backup files.

    I have my files backed up offline and don't want or need this help.

    How can I disable it either doesn't work at all?

    Delete the calendar?

    http://superuser.com/questions/315322/change-scheduled-Windows7-backup-setting

    http://Windows.Microsoft.com/en-GB/Windows7/set-up-or-change-automatic-backup-settings

    PS This is windows backup that runs and not a backup provided by the manufacturer of your PC?

  • Satellite C650: How to disable the spell checking in Windows 7?

    How can I activate the spelling checker on the new laptop to my son so that he will leave to ask me to do?
    Toshiba C650 with Windows 7. Especially for Facebook and e-mail.

    Hello

    The only common thing you can do is to install the Google Chrome web browser.

    http://www.Google.com/chrome/intl/en/make/download.html?brand=CHKZ

    It will be useful.

  • How to disable the automatic updates of Windows

    F * windows update restarted my computer so THAT I WAS GAME LEFT 4 DEAD 2! WTH! How I (deleted): turn off windows updates STUPID 5 second caveat permanently!

    * original title - who was the GENIUS who made windows update restart your computer in 2 minutes WITHOUT TELLING YOU? because I want to strangle besoin.*

    http://support.Microsoft.com/kb/555375 >

    It helps those answering questions if you provide:

    what the version of windows (32-bit or 64-bit) and service pack level.

    http://blogs.msdn.com/tim_rains/Archive/2004/11/15/257877.aspx>

    http://social.answers.Microsoft.com/forums/en-us/vistawu/thread/c584900a-BDDC-4E30-B159-0e49cb231c0f>

  • How to disable the "Fonts" folder in Windows Explorer?

    Hi all

    I have a problem to deactivate the fonts folder in Windows Explorer.
    My question:
    How to turn off or do not display "Fonts" in Windows Explorer my computer tab?

    I think it is unnecessary because it already exists in the Control Panel folder.

    If anyone can solve this, thanks in advance.

    Windows customizes the Fonts folder and offers a special folder view that allows you to hide variations, such as bold and italics. It also allows you to change the display settings of the file in a way that is specific to fonts. If you remove the read-only attributes and the Fonts folder system, these custom display settings not available. For folders that you have customized by using the tab, Customize dialog box Properties of the folder, the folder icon and other other customizations may be missing when you remove the read-only attribute.

    Source link: http://support.microsoft.com/kb/326549

Maybe you are looking for

  • How to open a file with the Firefox browser?

    I am creating a document HTML with Notepad, and my text book told me that typing, to save the file, then open it with Firefox browser. I can't understand how to do this.

  • Satellite U400: Various uncomfortable questions - rundll, programs etc. of closing.

    I have a laptop Toshiba U400 brand new which started to play up. When I try to open a document using a program for whichI navigate on the computer - and not one assigned to the document, if I click on 'Browse' the white on the box and I get the messa

  • Covered with cursor movement

    Hi all Scenario of I have a chart with 2 sliders say Cur_1 and Cur_2. Cur_1 can have any value Y and Cur_2 has a value of Y which is "Num" less than the Cur_1 Y value where "Num" can be any number. For example, if Cur_1 = 50 and Num = 10, then Cur_2

  • Error C00D11B1 and 80040154 when playing videos in Media Player

    original title: Media Player These error messages appear when I try to play some video files. C00D11B1, original error message 80040154. Help?

  • Remove Norton System Works from my PC.

    I'm trying to remove Norton from my PC systems Works. I get a notice that there is a "problem authenticate the installer.  I tried to follow the instructions from Symantec, but not luck. Can you help me?