Popup JavaScript does not work using global variables?

I have a menu region "References" which contains links to several pages pop up indicating the access codes of valid data filtered for the location of the user. I tried to make this work in another page by changing the references page to global variables variables / application, but it does not work. Can anyone suggest a work around? Here is the code I use:

Target URL in link
javascript:callEmpPopup('P1050_ORG_ID')
JavaScript
  function callMyPopup (formItem1,formRow1) {
    var formVal1 = document.getElementById(formItem1).value;
    var formVal2 = 1;
    var url;
  url = 'f?p=&APP_ID.:1056:&APP_SESSION.::::P1056_FACTORY_ID,P1056_ROW:' + formVal1 + ',' + formVal2;
  w = open(url,"winLov","Scrollbars=1,resizable=1,width=1000,height=600");
  if (w.opener == null)
  w.opener = self;
  w.focus();
  }

Blair:

Use a "Hidden" type page element defined on page 0 instead of a part of the application.

CITY

Tags: Database

Similar Questions

  • JavaScript does not work, even if activated in the preferences

    OK, so javascript does not work in my Firefox. I'm going to websites, try to activate some tabs, or similar, and nothing happens. Theres is a new site, which is linked to my University, and when I try to connect I get a message: Javascript must be enabled to use this Web site.
    Thing - it is turned on. I tried to restart (close-> close-> open-> mozilla mozilla activate on-> close mozilla-> open mozilla-> go to the website) but no dice...

    When I try to use IE, everything works, so I have NO idea what to do... Can anyone help?

    Hello

    Please check if this occurs in Safe Mode

    Extensions of the issues

    Troubleshooting Extensions and themes

    Uninstalling the modules

    Uninstalling toolbars

  • JavaScript does not work in the published file

    Hello

    I am using the javascript in the captivate 5.5 for generating variable text in the text box. It works when I press the F12 key, but it does not work in the publication file.

    I called the function in the button and I wrote the script in the slide.

    Please let us know how to do this...

    Thank you

    Sirot BC

    Could you explain more detail? View code Javascript, and what you mean by "generate the variable text in the text box?

    You want to display the content of a user variable in a text caption? Or you want to change this variable first and then display it?

    Lilybiri

  • Why Javascript does not work properly?

    I'm working on a web page and try this script, but it does not work (although it works fine in IE). The code is given below:

    My function is:

    function validateNumber()
            {
                var x=window.event.keyCode;
                //alert(x);
                if(!(x>=48 && x<=57))
                    {
                        alert("Please type a number between 0 and 9 !!");
                    }
            }

    I use it as:

    <input type="text" name="cust_age" value=0 size="15" onkeypress="return validateNumber()" style="font-size: 16pt" />

    Please let me know how to solve this problem.

    Firefox does not use a global event of the window.
    On Firefox, you will need to pass the event to the function.

    I think it should work (I'm not an expert):

    <input type="text" name="cust_age" value=0 size="15" onkeypress="return validateNumber(event)" style="font-size: 16pt" />
    
    function validateNumber(event)
            {
                var x=window.event? window.event.keyCode : event;
                //alert(x);
                if(!(x>=48 && x<=57))
                    {
                        alert("Please type a number between 0 and 9 !!");
                    }
            }
  • My javascript does not work on Firefox

    I wrote a very small javascript. It works perfectly on IE, but it does not work on Firefox. Each javascript, I am writing to you, face the same problem. JavaScript is not disabled in my firefox browser, and I use the latest version (3.6.9). It's one of my scripts.

    < content meta = text/html"; charset = utf-8 "http-equiv ="Content-Type">"
    < title > Untitled Document < /title >
    < script language = "javascript" >

    function namechecker()
    {
    var firstNameLength = txtFirstName.value.length;

    even if (firstNameLength == 0)
    {
    firstNameLength = prompt ("enter your first name","" ");
    txtFirstName.value = firstNameLength;
    }
    }

    < /script >

    Enter your first name:
    < name of entry = "txtFirstName" type = "text" >


    Enter your last name:
    < input name = "txtlastName" onfocus = "namechecker ()" type = "text" > "

    This problem persists for me after updating to 3.6.10. Many web sites, even Google, unusable due to JavaScript errors. The problem could be solved by disabling the cache. I also noticed that some images for some pages do not load until the cache has been cleared, so I suspect that this is not a JavaScript problem but a bug in the way Firefox handles caching. Unfortunately, I can't reproduce this problem systematically.

    This problem occurs on 2 separate machines that are both running Windows 7 Pro 64 bit. Some installed extensions: Firebug (disabled), Xmarks.

    A page that I am wrong with this time is http://cgsmd.isi.edu/dbsnpq. Errors are "$ is not defined", "jQuery is not defined" and some images do not appear, while some arise. When I go to about: cache? device = disk I can located at the URL of the JavaScript file. When I followed links to this cache entry, and I can see that the corresponding cache file does not exist. This is the file:

    C:\Users\Scott\AppData\Local\Mozilla\Firefox\Profiles\jlz39414.default\Cache\83E84132d01

    I did the same thing for some images. Some I can find in everything: put in cache and view them, other are listed, but the data is not - these are those who were not initially. In all: cache he requests these minutes just cached were there probably isn't another 'cleaning' software removes these files.

    Conclusion: there are bugs in the system cache of Firefox that make many common web sites, such as Google, unusable.

  • saying vprotect popup program does not work

    popup vprotect

    I am (and have for years) running windows Vista.

    for the last two weeks, I've been making a Microsoft upward (supposidly), saying vprotect program does not work.   It is, to my knowledge, not something that I have loaded.

    I have to cancel the pop up all the time--seems to pop up when you access an electronic internet/e-mail connection.

    I tried looking for this "program", so I can delete or reload... but can not find or get the search results negative for vprotect!

    Any ideas?

    I use the paid version of AVG - 7 have been for about two years.

    Thanks for all the ideas.

    See:

    http://forums.Avg.com/us-en/AVG-forums?sec=thread&Act=show&ID=185255

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-performance/vprotect-application-has-stopped-working-i-get/e69957d2-0D03-448f-af37-1c0179b4e3f8?tab=MoreHelp

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-performance/vprotect-application-has-stopped-working-i-get/6ac76bab-6cbf-48E6-8392-21b6bedc97f7

  • Qosmio G30-155: video Capture does not work using s-video in port

    Toshiba Qosmio G30-155 video capture does not work via the ports of the video (Windows Vista Ultimate x 86) victory of version 3.90 BIOS
    Video capture does not work in Windows Media Center, even if selected as ports of entry port composite or s-video in Windows Media Center settings.

    In the BIOS version 3.90 parameters via esc - F1 can only select this option: NTSC (USA), NTSC (Japan), PAL (S-video).

    It is worth noting that the laptop is supposed to be capture NTSC for composite input mode

    Someone turned to make this model of video capture for laptop, via composite video input with the new version of the BIOS (version 3.90 win)?

    Can you please explain what you want to do exactly?

    Many years ago I had this old Qosmio with TV tuner and antenna in port so I used it to transfer my old VHS format videos and burn movie DVDs.

    To this end, I didn't use Windows Media Center. Why you n t use other recording applications. I think that everyone is better than Windows Media Center.

  • Select CTRL or copy, does not work - using the new Windows 7-

    Using the new Windows 7, it still does not work:

    > To select the non-consecutive files or folders, press in and hold the Ctrl key and then click each item you want to select.

    There is also the same problem when you use the Ctrl key to 'Copy', rather than 'move '.

    Sometimes a reboot will fix it, but other times not. Is it an appropriate solution for the Ctrl key work properly?

    Hello

    It is difficult to imagine a particular key for only certain combinations of keys does not?

    Here are a few troubleshooting steps that you can try to isolate if all goes well the problem.

    1. start the computer Safe Mode and try to reproduce the problem. Start your computer in Safe Mode

    2. perform a clean boot, and then follow the instructions in the following article to help identify the problem.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    3. create a new user account, log in to the new account and test the issue. Create a user account

    If this step resolves the issue, is that your user account may be damaged. Replace

    your original user account.  How to fix a corrupted user profile.

    Let us know the results.

    Thank you for using Windows 7

    Ronnie Vernon MVP
  • FIFA11 does not work using the ATI GPU on Satellite S70 - B

    I have a portable Satellite S70 - B. with amd fifa 11 video card does not work, but with the video card intel it works.
    Why?

    Despite the solution/solution posted by above user, an update of the graphics card driver could also be an option for you to my knowledge, that a lot of games does not start because of the incompatibility between the game and the graphics card driver

  • Rebel T5 does not work using the live view. Live view mode is enabled, but images are not captured.

    Rebel T5 is not capturing images when taking pictures in mode live view.  Live view mode is activated but update automatic and image capture does not work.  Any suggestions?

    troyantonik,

    What lens do you have and have you tried other lenses with your camera to see if they also not auto focus when you press the shutter button halfway?

    Just in case a parameter can be the cause, I recommend you to reset the unit to default settings.  Follow these steps:

    1. Press the MENU key.
    2. [#3 tools] tab.
    3. Select [clear settings].
    4. Select [delete all device settings].
    5. Click [OK].
    6. Select [clear all custom Func.].
    7. Click [OK].
    8. Exit the menu.

    If it is a time sensitive matter, additional support options are available to contact us.

  • getURL() does not work with the variable

    I have a button that does two things:
    First of all, it opens a new Flash movie in a new window, using the line:

    getURL ("javascript:OpenBrWindow('/movie2.asp','MyMovie','status=0,scrollbars=1','865','690_','true')");

    It then redirects the original window to another URL by using the line:

    getURL (" http://www.mydomain.com")

    This works very well when the two lines are combined into an instance of button as follows:

    on (release) {}
    getURL ("javascript:OpenBrWindow('/movie2.asp','MyMovie','status=0,scrollbars=1','865','69_0','true')");
    getURL (" http://www.mydomain.com")
    }

    But if I set a variable to contain the first url, replace the url with the variable, the new window never opens.

    Here's the new code:
    It is located in frame 1:
    MyURL = "javascript:OpenBrWindow('/movie2.asp','MyMovie','status=0,scrollbars=1','865','690','tru_e')";

    This is the new code behind the button instance:
    on (release) {}
    getURL (myurl);
    getURL (" http://www.mydomain.com")
    }

    The second command, redirection, works, but a new window never opens to the other film.

    Any ideas?

    Thank you
    Beth

    Okay - with some trial and error I figured it. I discovered that the variables declared and populated in the timeline not copied to the button unless they are configured as global variables. Call of my variable _global.myurl did the trick.

  • JavaScript does not work under OS 7

    I have an application that uses the java script to close the active window.

    function my_onload() {}

    Window.Open (","_self","); Window.Close ();

    }

    script >

    This script works fine on Internet explore and also on the Blackberry 9700, but when I use it on a blackberry Bold 9900 OS7 page remains open. It does not seem to see the script. Any suggestions on how to solve this problem would be greatly appreciated.

    John

    This is the right forum?

    I think it might be more appropriate for your question.

    http://supportforums.BlackBerry.com/T5/Web-and-WebWorks-development/BD-p/browser_dev

  • Cursor does not work using an external mouse

    Internal cursor does not currently work with an external mouse

    Yes, I use a laptop.  How can I disable the touchpad?

    The procedure for doing this is different for every brand and model of laptop.  You will need to read the user guide to find out how to do it on your computer.  I promise you that it will not give you leprosy for this!  :-)

    One possibility would be via the mouse control panel applet.  Click Start-> Control Panel-> mouse.  Click the device settings tab, and you should see a button to turn off the touchpad.  Make sure that you are disabling the touchpad and not by the mouse.  However, the procedure of your user guide will be easier and more user-friendly.

    Good luck.

  • JavaScript does not work.

    I downloaded and installed Javascript, but I can't get it to load. When I go in my addon settings, he says he's vulnerable and allow me to activate. I tried to give each specific site permission to run, but sites such as Netflix and Facebook not working and tell me that it is because Javascript is not enabled.

    Hi return user and ESDMF.
    Some versions of java can be marked as vulnerable, not Javascript.

    If Javascript is disabled the subject: config entry would reflect this. You will need to modify this to see what it turned off:

  • JavaScript does not work anymore

    Since after I installed Firefox BETA 13 and again after removing and installing Firefox 12, no javascript code runs on the Web sites. In preferences, everything is active and resolved (and without change). I tried to update to aurora, but it did not work as well...

    I found it - it's kaspersky addon for firefox, which disabled...
    now everything works well again...

Maybe you are looking for