jQuery dialog does not work

My application uses jQuery that dialogue should display a message the first time that passes from the user to the screen. He does not appear.

In page 0:
Region of dialog boxes HTML
Point of view before the footer
Sequence 1010
Source:
<div id="alert-dialog" style="display:none">
<p id="alert-dialog-text"></p>
</div>
In page 2:
Region of Instructions HTML
Point of view before the footer
Sequence of 1009
Source:

& nbsp;

Footer area
<script type="text/javascript">
    firstTime = $v ('P2_FIRST_TIME');
    if (firstTime != "N" || firstTime == null)
       {
   $("#alert-dialog-text").text("Answer each of the following questions completely to the best of your ability. Read all instructions before answering the questions. If you have any questions about completing the form, contact the attorney designated under the Code of Ethics and Financial Disclosure.");
   $("#alert-dialog").dialog('open').dialog("option","title","Instructions").dialog("option", "width", 460 );
        } ;
</script>
Elements
Region: Instructions
Text P2_FIRST_TIME field

He worked at the same time. Then I did something (I forget what) for the poster does not temporarily.

Now, I need to display it.

Can anyone help? Jari helped me last time, but if Jari is too busy and someone else can help, I would be grateful. (The 1st person who gets it right, I'll give him 'Correct' Points, others I'll give you Points of 'Help')

APEX 3.2.1.00.12
DB Oracle 10g Rel 2

Robert
http://apexjscss.blogspot.com

Hello

Try


If JavaScript is executed after all the HTML document is ready

Kind regards
Jari

Tags: Database

Similar Questions

  • jQuery code does not work in phonegap

    Someone gave me a code https://jsfiddle.net/adeneo/2uod274d/ jsfiddle

    It works well in jsfiddle, but when I put the code in my Xcode and amended to incorporate my code and run it in the Simulator, the code does not work at all (i.e., no data is stored in the local storage)

    I am building an app for iOS with phonegap. JS:

    <script type="text/javascript" src="cordova.js"></script>
      
    <script type="text/javascript" src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
      
    <script type="text/javascript" src="http://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.js"></script>

      
    <script type="text/javascript">
      document.addEventListener("deviceready",onDeviceReady,false);

      function onDeviceReady() {

      document.getElementById("btnSave").addEventListener("click",saveData,false);
      document.getElementById("btnShow").addEventListener("click",showData,false);
    }

      function saveData(){
      var data = window.localStorage.getItem("date");

      var dates = data ? JSON.parse(data) : [];

      dates.push( new Date() );

      window.localStorage.setItem("date", JSON.stringify(dates));

      alert("Your data is stored");
      }

      function showData() {
      var data = JSON.parse(window.localStorage.getItem("date"));
      console.log(data);
      $('#res').html(JSON.stringify(data));
      $(this).html('Update result');
      }

    < /script >

    HTML:

    <button id="btnSave"> Save Data </button>

      
    <button id="btnShow"> Show Data </button>

    I don't know what is happening because the code works well in jsfiddle, but for some reason any just does not work in my phonegap.

    My version of phonegap 5.3.6 cordova version 5.3.3

    Post edited by: Fang Kerry, I added my complete code is easier to see the problem (if any)

    jQuery has nothing to do with this, as far as I can tell (so not sure why it is in your title). The problem is that the result of JSON.parse (data) is not an array, what you think it is, it's a chain. The chain respond well to 'push '. I get that when you use this code in jsfiddle he is somehow coming out as a table, but I think it must be because of something done jsfiddle. When I do the same commands in the console of my browser, I get a string, not a table, so your problem.

    Instead:

    function deserializeDates() {
        var data = window.localStorage.getItem("date");
        var dates = []; // worst case, we'll return an empty array.
        if (data) {
            try {
                dates = JSON.parse(data);
                 // handle the case that dates is a single item and not an array
                if (!(dates instanceof Array)) {
                    dates = [dates];
                }
            } catch (err) {
                 // the stored dates failed to parse for some reason; you might want to do something about it
                 console.log("Failed to parse " + data);
             }
        }
        return dates;
    }
    
    function serializeDates(dates) {
        window.localStorage.setItem("date", JSON.stringify(dates));
    }
    
    function saveData(){
         var dates = deserializeDates();
        dates.push( new Date() );
         serializeDates(dates);
        alert("Your data is stored");
    }
    
    function showData() {
         var dates = deserializeDates();
        console.log(dates);
        ...
      }
    
  • JQuery ScrollTo() does not work

    ScrollTo() JQuery Plugin will not work on the BlackBerry PlayBook. See http://flesler.blogspot.com/2008/02/jqueryserialscroll.html for more information about the plugin.

    It works fine in Chrome/FF and IE, but the PlayBook simply ignores. His coming to a point where I prefer one to create an accessible web application from PlayBook/iPad/Xoom rather than trying to run workarounds when widely used JQuery plugins are not supported.

    Simulator: 0.9.4

    SDK WebWorks: 1.0.0.13

    JQuery version: 1.5 (also tried 1.3.2)

    Here is the code:

    scrollTo works very well for me...

    have you tried to create a link and what actually scroll on a click event to see if it works?

    Also in your example, I don't see why something would scroll because technically the entire list would fit in the display window, unless you just give us a basic example. Your script should look like this

    $(document).ready(function() {
       $('div#contentLeft ul').scrollTo( 'li.playing', 800);
    });
    
  • [BB10] jQuery click() does not work

    Hello

    I have a big problem with jQuery on WebWorks:

    
    
    
    
    Description

    and when I click on the item 'option hand' in the emulator Ripple , div "moreTrans" did not hide...

    Of course jQuery is added to the application properly, because code:

    
    

    hide the div to 'moreTrans' to start...

    Thanks for help

    I put JavaScript in the file and now everything works fine.

    But thanks for the help

  • calendar for the week of jQuery does not work in the new version of firefox v42.0

    Hello
    Thanks for your reply.
    IAM develop on the issue that iam facing knowledge, events on the calendar for the week of jquery does not work in firefox version iam 42.0 faced to the problem that iam unable to change back or delete nominations that are displayed.
    For example if try clicking on one of the appointment generally a popup comes to change or to restore or remove the appointment but iam not getting that. But this feature does not work in lower versions of firefox (version 32.0 for example). Please check the jquery week calendar demo following URL looks like this:
    http://robmonie.github.IO/jQuery-week-calendar/full_demo/weekcalendar_full_demo.html

    I've just rescheduled lunch 12:00-12:15, so it seems to work on 42 Firefox on Windows.

    What is the latest version, where it has worked for you?

    Have you tested Mode Firefox safe to rule out the possibility of an extension conflict? See: Firefox in Safe Mode troubleshooting questions.

  • Windows Defender dialog box indicates it does not work.

    Problem with windows defender

    I use windows vista, my problem is with windows defender, it does not work well, even, it does not start when I click on icon (icon is correctly linked) displaying a dialog box to turn on the Defender, but that does not work.     After that restart Defender opens in a seprate window but after a few minutes (1-2 min) it turns off automatically

    Windows Defender cannot be used with AVG, McAfee, Microsoft Security Essentials (MSE) or Norton and several other similar programs.  It is part of the Vista and Win 7 operating system and cannot be uninstalled.  Maybe your antivirus program is disabled Windows Defender - and maybe it's exactly what it is supposed to do.

    You may want to consider the following: Windows Defender and Microsoft Security Essentials

    If you can not only your problem please post back and elaborate detailed about your computer, program antimalware, etc...

    Kind regards...

  • jQuery Mobile app does not work on OS5 telephone, but works in Simulator

    Hello

    I'm trying to run a simple jQuery Mobile (beta2) app on my phone and its does not work.

    Had been a working app and it worked on the Simulator, but didn't have a screen on the phone Curve8900.

    Then I created a simple jQuery Mobile app that displays a header, content (with listview) and the foot.

    When I insert in the Simulator, it looks fine, but when I charge the phone it loads and displays a white screen with a small gray square at the top left of the screen... (perhaps 30 x 30 pixels or less)

    (the rest of the screen is green, because I put the bottom in the config.xml file to green)

    I've specified:

    
    

    and also I tried using:

            addEventListener('load', doLoad, false);
    
            function doLoad() {
                document.body.style.height = screen.height + 'px';
                alert('initPage 3');
            }
    

    but makes no difference.

    (Before I added jQuery to app it worked fine)-very tedious debug because I need to sign the code every time I have test and restart the phone after the installation

    Any help appreciated.

    Maybe someone has a skeleton jQueryMobile app that works on OS5?

    Hi Heiko,

    According to this example JQuery 1.5.2 seems to work on 5.0. Do you need a feature of 1.6.2 otherwise maybe try this library instead.

  • jQuery does not work properly

    Here's my situation:

    (1) I have an html region with the source:
    <div id="Report"></div>
    (2) a javascript function: 'Test_Report()': (this feature is indicated by a button).
    function Test_Report()
    {
            var a=new htmldb_Get('Report',&APP_ID.,'APPLICATION_PROCESS=Get_Report',&APP_PAGE_ID.);
            var r=a.get();
    }
    (3) an application ON-DEMAND "Get_Report" process: (it returns a table with 3 columns: "emp_no", "empname" and "employment"). Each row in this table has an id like this: "Row_1", "Row_2', 'Row_3 ',...
    DECLARE
     v_rowid number(6);
     v_empno number(6);
     v_ename varchar2(500);
     v_job varchar2(500);
     CURSOR c_emp IS SELECT empno , ename , job FROM emp;
    BEGIN
     v_rowid := 0;
     OPEN c_emp;
    
     htp.p('<table>');
     LOOP
    
      v_rowid := v_rowid + 1;
      FETCH c_emp INTO v_empno , v_ename , v_job;
      EXIT WHEN c_emp%NOTFOUND;
      htp.p('<tr id="Row_' || v_rowid || '">');
      htp.p('<td>'|| v_empno || '</td><td>' || v_ename || '</td><td>' || v_job || '</td>' );
      htp.p('</tr>');
    
     END LOOP;
     htp.p('</table>');
    
    END;
    (4) I have a jQuery Selector:
    $(function() {
    
    $("#Row_1").click(function() {
    alert('row 1');
    });
    
    });
    The problem is that jQuery selectors do not work for this table. If I run the function: "Test_Report()" on the page load jQuery selectors work until I have refresh the report.

    How could I ' reboot "(or something) jQuery selectors so that they would work when I refresh the report." " (I refresh the report by running the: "Test_Report()" works again.)

    Kind regards
    Cearnau Dan

    APEX 4.0

    Hello

    Your code should not work, when "refresh you" report using Ajax.
    When you create elements to fly try

    $(function() {
     $("#Row_1").live("click",function() {
      alert("row 1");
     });
    });
    

    Kind regards
    Jari

  • APEX 5 modal page: CSS for the layout does not work

    Hi experts,

    I have problem with CSS tag in the pages of the dialog box modal.

    If I use a few CSS changes for APEX DA label (for personal reasons), it works for a normal page.

    Example:

    standard page: label #P2_X_STATUS_LABEL {make-weight: 700}-works

    modal page: label #P3_X_STATUS_LABEL {make-weight: 700}-does not work


    I tried to change the style of firebug (color, background,...) for each element on a page modal. It does not work. Also with! important attribute. I checked the 'Get matching items' jQuery selector and it shows me the correct items.


    How is that possible?

    I upgraded from 4.2 and I need this feature (base), to the works. (for modal too)


    Concerning

    J

    It will help if you demonstrate your problem to apex.oracle.com.

    Please, create a workspace of comments and provide us with credentials in order to visualize and debug your question.

    Thank you

    Sunil Bhatia

  • 9.1.3 Safari does not work well

    Hello

    I've just updated my safari to the 9.1.3 today. However, since it does not work very well. All google services are down, most of the other sites of loading is very slow, facebook works fine but slow as well. I've tried resetting safari but did not work at all. I also tried to use private mode and safe start mode. None of them worked. Is anyone having the same problem?

    The OS is 10.9.5 (13F1911), safari is 9.1.3 (9537.86.7.8). Google chrome works fine on my macbook.

    If Safari is slow, unresponsive, which closes unexpectedly, or has other issues

    https://support.Apple.com/en-us/HT203353

    If this does not help, run EtreCheck and post the report here.

    http://etresoft.com/etrecheck

    Download, open the download folder, click on it to open it and select 'open '.

    Click the icon that bounces on the dock.

    '' Choose a problem '' in the box on the shortcut menu, and then "Start EtreCheck" in the dialog box.

    Click on the button "Report share" in the toolbar, select "copy to Clipboard".

    and then paste it when replying.

  • Thunderbird does not work after installing Win 10 and the mobile profile of Win 7

    I've installed Tbird 38.3.0 on a new Dell computer with Windows 10 on this (8 GB of RAM, 1 TB harddrive). I then followed these steps to put my old profile from the old computer to Windows 7:
    1. copied my profile on the Windows 7 computer on an external drive.
    2 installed Tbird on the new computer Windows 10 38.3.0, but has nothing to do with it.
    3. following the instructions on the site of Thunderbird on the displacement of a profile:

      a) Use the Profile Manager to create a new profile on the Win 10 computer.
      b) Copy the profile from the external drive to the new profile folder
      c) Use Profile Manger to tell Tbird to open the new profile
    

    4. start Tbird.

    I see my files with email in them, but there are problems:
    1. None of the Tbird dialog boxes open when I choose a command in the menu bar (including the new Message).
    2. I can't get Tbird to display the contents of a folder in the Home tab. There is only the accounts and the advanced features of the Inbox, display in the right pane, next to the folder tree. The only way to see the contents of a folder is right-click and choose open in a new tab.
    3. when I click or double-click on a folder, the contents of the file does not replace the previous folder. TBird on the Windows 7 computer, clicking a folder displays the contents of the new folder.
    4. sometimes when I Alt + Tab of Tbird, then Alt + Tab, moving the cursor of the mouse on the messages in the Inbox tab causes the message object, Date,... to disappear, leaving blank lines.

    I tried to uninstall Tbird and reinstall it, but this does not solve the problem.
    I tried to reboot Windows 10 but that does not solve the problem.
    I don't seem to be able to download email and preview in the messages pane, but I can't open it in a separate window.

    A lot of people seems to be able to run Tbird on Win10, so it should work. Any ideas on why it does not work and what I can do about it?

    Thank you very much in advance!

    go to add-ons.
    remove the addon of lightning.
    restart - everything should be good.
    If you still need the addon of lightning, install it again - it should give you a new version.

    Please tell us that all is well

  • Java does not work

    Everything that I try to use it requires java does not work on firefox. It just happened the other day, out of nowhere. It works on all other browsers I have except firefox. I can't even connect to my sync account because this action also requires java. I uninstalled firefox and re-installed java, then firefox, but still java will not work.

    Sites using the Java plugin are not really this Commons. Are you sure that take sites on the Java plugin and not JavaScript, a commonly used language which is managed by Firefox itself (without using the Java plugin)? To confirm that JavaScript is enabled:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the search above the list box, type or paste the javas and make a pause so that the list is filtered

    (3) if the preference javascript.enabled is in bold and "user set" false, double-click it to restore the default value true.

    You can also test Firefox Safe mode to see if an extension might be the culprit. It is a standard diagnostic tool to disable some advanced features of Firefox and extensions. More info: questions to troubleshoot Firefox in Safe Mode.

    Does not work if Firefox: Hold down the SHIFT key when you start Firefox.

    If Firefox is running: You can restart Firefox in Mode safe mode using either:

    • button "3-bar" menu > "?" button > restart with disabled modules
    • Help menu > restart with disabled modules

    and OK reboot.

    Two scenarios: A small dialog box should appear. Click on 'Start mode safe' (not update).

    Any change?

  • Firefox does not work

    Download "dialog" with the "gray area" to type in something. who does not either; Click the box outside get ' error tone ", click inside the box of nothing. cannot close yet; computer restarted, tried firefox again, once more the same dialog box. uninstalled firefox then reinstalled; always the same problem; have windows 8.1. How can I go back to the previous edition of firefox? you know... the one that actually works!

    javawebweaver said

    Download "dialog" with the "gray area" to type in something. who does not either; Click the box outside get ' error tone ", click inside the box of nothing. cannot close yet; computer restarted, tried firefox again, once more the same dialog box. uninstalled firefox then reinstalled; always the same problem; have windows 8.1. How can I go back to the previous edition of firefox? you know... the one that actually works!

    Hello

    Try Firefox Safe mode to see if the problem goes away. Firefox Safe mode is a troubleshooting mode that temporarily disables hardware acceleration, restores some settings and disables add-ons (extensions and themes).

    If Firefox does not work, you can start Firefox in Mode safe as follows:

    • On Windows: Hold down the SHIFT key when you open the desktop Firefox or shortcut in the start menu.

    When the Firefox Safe Mode window appears, select "start mode safe."

    If the problem is not present in Firefox Safe Mode, your problem is probably caused by an extension, theme or hardware acceleration. Please follow the steps described in the section Troubleshooting extensions, themes and problems of hardware acceleration to resolve common Firefox problems to find the cause.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before you open Firefox for normal use again.

    When find you what is causing your problems, please let us know. This might help others with the same problem.

  • 29,0 Firefox, print 'selection' does not work.

    When I select a section of a page, then use the "print" button, the 'selection' print option does not work. It is not highlighted in the print menu.

    The button "print" 'action' in Firefox 29 differs from earlier versions. Now, he opens preview print rather than going directly to the box of "native print dialog. That breaks the ability to print a 'selection '.

    My advice is to highlight the selection , then use {Ctrl + P} to start printing until Mozilla fixes the action of the "print" button in a newer version of Firefox.

  • keyconfig does not work with FF 24.0. Is there a way?

    I just finished rebuilding my PC from a hard drive format. In doing so, I loaded the last 24.0 FF.
    Part of my essential app is a script used keyconfig causes a single copy to send the source page to the Clipboard, where the script analysis. Unfortunately, keyconfig does not work with FF 24.0.

    Writing for easy copy begins to explain how acting on a combination of keys, rather than the action of the mouse, without the use of keycopy - but then told how he has no need, because it's too much effort, and besides - keyconfig exists and does the job - which, I agree, he used, very well - but it is no more.

    What should do? If there is no other way, can I get a downgrade of FF that works with keyconfig?

    There is a new add-on, key config (note the space), but it does not what keyconfig did.

    The end of the thread main support doesn't mention a major problem in Firefox 24: keyconfig 20110522 - mozillaZine Forums.

    Did you install from source: http://mozilla.dorando.at/keyconfig.xpi

    Is the problem that Firefox won't let you activate keyconfig, but the dialog box opens, or you can activate or extension allows you to create shortcuts but they do not work?

Maybe you are looking for