The code does not after deployment, as it works on my PC

I have this situation.
I have a search page, which will display the customer information. I also have a Page for the creation of the customer. I also have another Page to view called CustUpdatePG in which all data will be read-only.
I have a column for the name of the client in the Search Page results table, which is a link. Now, if I click the link a new page will open.
Also, there is a customer status column in the search results table Page, which can be "APPROVED" OR "REJECTED" as values.
Now if the status is "DENIED", Page create with the customer details will be opened in update mode. It works very well.
Now, if the State is "APPROVED", it should open the display page where all the data will be read-only. It works fine on my PC, but after deployment on the development environment, it gives the FOLLOWING ERROR:

Error page
You have encountered an unexpected error. Please contact the system administrator for assistance.


Can someone help me?

Published by: Pradeep on November 5, 2008 23:02

define DNF: Diagnostics to 'Yes' to see the error stack on the applications page.
and let us know what is the error message your getting...

Prasanna-

Tags: Oracle Applications

Similar Questions

  • DW CS4 'go to the code' does not go to the css code

    When you are in the css Panel and right-click on a particular style, by clicking 'Go to the code' used to put me to the exact location of this rule in the relevant css file. This is no longer. It seems to bring me to the relevant html in the html source code, but code that is useless. Someone at - it ideas? I use this feature TONS and can't live without it.

    Thank you

    Anne

    I just tested CS4 preferences changed to 'Edit using CSS dialog box'. Go to the Code still works without problem.

    Now, I noticed that at the top, there is a new "toolbar" with all of the files that are associated with this document and css files are among them. I did not like it, cause I want the CSS OPEN file when I edit it, so I know not to save and download the right to file in just 2 clicks. I noticed that the css files no longer appear in the "toolbar" - I could have attempted to change these settings.

    The related files toolbar is controlled by the General category of the preferences panel. The fourth element of the top is 'enable related files '. Even with this unchecked, go to the Code works.

    The only other edit I've done recently is to change toolbar real to exclude some buttons I don't a need (cut/paste/copy/etc...) so that the buttons I have they use all appear on a single line. I edited the xml file and saved and it seems to work fine - if it wasn't for this 'go to the code"no longer works.

    Could any of my changes "broken" this feature? How to cancel the best?

    It is possible that your changes might have broken some features in Dreamweaver. How to cancel them is to remove your personal Configuration file and let Dreamweaver generates a new with factory settings.

    Now, it seems to only occur when the css files are called from in an inclusion... but it worked before.

    Yes, it's a difference between Dreamweaver CS3 and CS4. Go to the Code does not work in CS4 if your style sheet is attached using an inclusion. It must be directly related to the page or be linked through the @import command by a style sheet linked directly to the page. If you feel this is a limitation of your workflow, Please submit a request for improvements to Adobe to support style sheets linked by include files.

    In addition, on new tests, when I change the styles, I get an error. See the attached file. I bet that they are related. I can't find anything about it. ESP since AID disappeared.

    I don't know anything about the error message. However, I can help you is certainly not gone. When you access using Dreamweaver CS4, the help files are launched in a browser, which should connect directly to the online help system. Help has moved online because it can be updated more frequently if problems are discovered. It also has a comment system, where I provide many of the answers or refer to Adobe if necessary. Even if you are offline, access to help is expected to launch a local version of the original files.

  • period overlaps the code does not work in apex page

    Hello

    Employees have a schedule with a start date and end. Calendar periods cannot overlap for the same employee.

    I have a function that returns the error of validation of text as follows:

    declare
    number of l_dummy;

    Start
    Select count (*)
    in l_dummy

    of fus_medewerker_roosters
    where mdr_code =: p61_mdr_code
    and <>id: p61_id
    and to_date(:p61_begin_periode,'DD-MON-YY') < = eind_periode
    and to_date(:p61_eind_periode,'DD-MOn-YY') > = begin_periode
    +;+

    If l_dummy > 0
    then
    Back to 'this employee already has a calendar in this period.';
    on the other
    Returns a null value.
    end if;

    end;

    But the code does not work. It records data of an employee even though the periods overlap.

    But the code works correctly in workshop:

    declare
    number of l_dummy;

    Start
    Select count (*)
    in l_dummy

    of fus_medewerker_roosters
    where mdr_code =: p61_mdr_code
    and <>id: p61_id
    and to_date(:p61_begin_periode,'DD-MON-YY') < = eind_periode
    and to_date(:p61_eind_periode,'DD-MOn-YY') > = begin_periode
    +;+

    If l_dummy > 0
    then
    DBMS_OUTPUT. Put_line ("this employee already has a calendar at this time."); end if;

    end;

    What goes wrong. Why it works very well in the Studio, but not in my page?

    Kind regards
    Diana

    Edited by: dianap on Sep 4, 2009 08:31

    Hi Diana,

    It comes with the following:

    to_date(begin_periode,'DD-MON-YYYY')
    

    and

    to_date(eind_periode,'DD-MON-YYYY')
    

    Here are the dates of the table itself, should not be converted to dates.

    Secondly and more important still, the list of selection of P11_MDR_ID does not return NULL, it returns "null %" - it is a string that should be converted to null.

    I have made a few changes for postings of these - please take a look and check that everything is working ok.

    Andy

  • To install the server does not, after a Preparig to install the window hung for several minutes

    Hi, I tried to install memeo backup of a product for a moment, I recentley purchased. I know that the software and the product is not damaged, because I am able to install it on other computers. Its my fault see tho, I have the seagate FreeAgent GoFlex 1 TB external hard drive, and I had planned to use it on several computers. sort of, I installed it on my computer windows 7 without probs., but when I was installing on my windows vista computer, I accidentally unplugged the drive when installing memeo instant upward.  Needless to say, I knew this would be a problem. Windows popped up saying that the dashboard Seagate (which is the program that installs Memeo instant backup) have not installed properly, so I clicked on reinstall this program with the recommended settings, and I handed the drive and started the installation again. When I did, the registration page (for the unit I was using) pops up and froze, so I closed its process, then Setup of the Board of Directors of Seagate Dash appeared and I started to install, and when he rose to installation of the snapshot of Memeo back, it opens a "Preparing to install" window of a windows installer and after about 10-15 minutes , another windows installer window comes up saying ' to install the server does not.

    Ive done my time just trying to solve this problem and believe he made an incomplete registry file, it whenever it tries to install it tries to use the incomplete record. If one has found a solution to this, or knows what that means of ' installation server does not ", it would be very appreciated for your advice.    If you want to know my characteristics. they are {windows vista 32-bit home Basic, sp 2, 3 GB of ram, 2.10 ghz processor}

    Hello

    you are in the wrong forum

    It comes to the installation of vista operating system instance

    Why don't contact you the program manufacturer?

    Try the repair and recovery forum

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-system?page=1&tab=all

  • the code does not: Please help! (if else statement)

    Hello

    I'm new to the edge and I'm doing a simple animation to a chart where there are 2 buttons and clicking the buttons that it animates each line as a symbol using "play()".

    I want to add is a set of variables so that once you click on the buttons each 'greenclicked' and 'redclicked' variable is set to 1 (instead of 0). It then check out using an IF/ELSE to see if you have already clicked on the other button (value 1) and if so it plays the timeline of "revealing" symbol.

    I followed the JS error until the IF statement, and I think that its to do with the condition but my javascript knowledge is limited, so I'm not sure of the correct syntax.

    Here is the code I use:

    READY COMPOSITION

    sym.getComposition () .getStage () .setVariable ('greenclicked', "0");

    var i = sym.getComposition () .getStage () .getVariable ('greenclicked');

    Console.log ("greenclicked initialized at ="+ i);

    //

    sym.getComposition () .getStage () .setVariable ('redclicked', "0");

    var k = sym.getComposition () .getStage () .getVariable ('redclicked');

    Console.log ("redclicked initialized at ="+ k);

    WHEN YOU CLICK ON THE RED BUTTON

    sym.getSymbol("red_line").play ();

    //

    sym.getComposition () .getStage () .setVariable ('redclicked', 1);

    //

    var i = (sym.getComposition () .getStage () .getVariable ('greenclicked'));

    //

    If (greenclicked == 1) {}

    Console.log ("greenclicked =" + i + ""-triggered revealer ' ");

    sym.getSymbol("revealer").play ();

    } else {}

    Console.log ("red revealer button not triggered");

    };

    DURING THE CLICK ON GREEN BUTTON

    sym.getSymbol("green_line").play ();

    //

    sym.getComposition () .getStage () .setVariable ('greenclicked', 1);

    //

    var k = (sym.getComposition () .getStage () .getVariable ('redclicked'));

    //

    If (redclicked == 1) {}

    Console.log ("redclicked =" + k + ""-triggered revealer ' ");

    sym.getSymbol("revealer").play ();

    } else {}

    Console.log ("green revealer button not triggered");

    };

    ----------------------------------

    The error I get in the console is "[11:42:26.893] Javascript error in the handler! Type of event = element.

    Help with this appreciated

    Thank you

    Ash

    Hello

    You create 2 variables: i and k. So you can use both.

    WHEN YOU CLICK ON THE RED BUTTON

    var k = (sym.getComposition () .getStage () .getVariable ('redclicked'));

    If (k == 1) {...

    DURING THE CLICK ON GREEN BUTTON

    var i = (sym.getComposition () .getStage () .getVariable ('greenclicked'));

    If (I == 1) {...

    Now, console.log () works fine.

  • Cut and pasted the code does not

    Help!

    I created a quiz slide - d├⌐poser following a tutorial online.  It has worked well.  Then I made another.  I cut and pasted the code of the job file in the new and changed the names of the instances of clip.  When you export (control + enter) I can pick up the MCs I want but I can't give up.  they just get stuck on the slider until I click on another MC.  I went through the code and I can't find anything wrong.  It simply doesn't get it.  I'm puzzled.  Here is the work and no working versions:

    DOES NOT WORK

    var counter: Number = 0;

    var startX:Number;

    var startY: number;

    volume_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);

    volume_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);

    poids_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);

    poids_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);

    temperature_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);

    temperature_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt)

    vitesse_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);

    vitesse_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt)

    consomation_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);

    consomation_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt)

    pression_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);

    pression_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt)

    surface_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);

    surface_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt)

    function pickUp(event:MouseEvent):void {}

    event.target.startDrag (true);

    reply_txt.text = "";

    event.target.parent.addChild (event.target);

    startX = event.target.x;

    startY = event.target.y;

    }

    function dropIt(event:MouseEvent):void {}

    event.target.stopDrag ();

    var myTargetName:String = "target" + event.target.name;

    var myTarget:DisplayObject = getChildByName (myTargetName);

    If (event.target.dropTarget! = null & & event.target.dropTarget.parent == myTarget) {}

    reply_txt.text = "very well!"

    event.target.removeEventListener (MouseEvent.MOUSE_DOWN, Pick-up);

    event.target.removeEventListener (MouseEvent.MOUSE_UP, dropIt);

    event.target.buttonMode = false;

    event.target.x = myTarget.x;

    event.target.y = myTarget.y;

    counter ++;

    } else {}

    reply_txt.text = "try again!";

    event.target.x = startX;

    event.target.y = startY;

    }

    if(Counter == 7) {}

    reply_txt.text = "Congratulations!"

    }

    }

    volume_mc.buttonMode = true;

    poids_mc.buttonMode = true;

    temperature_mc.buttonMode = true;

    vitesse_mc.buttonMode = true;

    consomation_mc.buttonMode = true;

    pression_mc.buttonMode = true;


    WORK

    var counter: Number = 0;

    var startX:Number;

    var startY: number;

    phalanges_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);

    phalanges_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);

    metacarpiens_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);

    metacarpiens_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);

    carpiens_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);

    carpiens_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt)

    cubitus_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);

    cubitus_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt)

    radius_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);

    radius_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt)

    humerus_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);

    humerus_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt)

    omoplate_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);

    omoplate_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt)

    function pickUp(event:MouseEvent):void {}

    event.target.startDrag (true);

    reply_txt.text = "";

    event.target.parent.addChild (event.target);

    startX = event.target.x;

    startY = event.target.y;

    }

    function dropIt(event:MouseEvent):void {}

    event.target.stopDrag ();

    var myTargetName:String = "target" + event.target.name;

    var myTarget:DisplayObject = getChildByName (myTargetName);

    If (event.target.dropTarget! = null & & event.target.dropTarget.parent == myTarget) {}

    reply_txt.text = "very well!"

    event.target.removeEventListener (MouseEvent.MOUSE_DOWN, Pick-up);

    event.target.removeEventListener (MouseEvent.MOUSE_UP, dropIt);

    event.target.buttonMode = false;

    event.target.x = myTarget.x;

    event.target.y = myTarget.y;

    counter ++;

    } else {}

    reply_txt.text = "try again!";

    event.target.x = startX;

    event.target.y = startY;

    }

    if(Counter == 7) {}

    reply_txt.text = "Congratulations!"

    }

    }

    phalanges_mc.buttonMode = true;

    metacarpiens_mc.buttonMode = true;

    carpiens_mc.buttonMode = true;

    cubitus_mc.buttonMode = true;

    radius_mc.buttonMode = true;

    humerus_mc.buttonMode = true;

    omoplate_mc.buttonMode = true;

    When you about to reg alignment are you slam away them?   to test using:

    var counter: Number = 0;
    var startX:Number;
    var startY: number;

    volume_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
    volume_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);

    poids_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
    poids_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);

    temperature_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
    temperature_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);

    vitesse_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
    vitesse_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);

    consomation_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
    consomation_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);

    pression_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
    pression_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);

    surface_mc.addEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
    surface_mc.addEventListener (MouseEvent.MOUSE_UP, dropIt);

    function pickUp(event:MouseEvent):void {}
    event.currentTarget.startDrag ();
    event.currentTarget.parent.addChild (event.currentTarget);
    startX = event.currentTarget.x;
    startY = event.currentTarget.y;
    }

    function dropIt(event:MouseEvent):void {}
    reply_txt. Text = "John";
    event.currentTarget.stopDrag ();
    var mycurrentTargetName:String = "currentTarget" + event.currentTarget.name;
    var mycurrentTarget:DisplayObject = getChildByName (mycurrentTargetName);
    If (event.currentTarget.dropcurrentTarget! = null & event.currentTarget.dropcurrentTarget.parent == mycurrentTarget) {}
    reply_txt. Text = "very well!"
    event.currentTarget.removeEventListener (MouseEvent.MOUSE_DOWN, Pick-up);
    event.currentTarget.removeEventListener (MouseEvent.MOUSE_UP, dropIt);
    event.currentTarget.buttonMode = false;
    event.currentTarget.x = mycurrentTarget.x;
    event.currentTarget.y = mycurrentTarget.y;
    counter ++;
    } else {}
    reply_txt. Text = "try again!";
    event.currentTarget.x = startX;
    event.currentTarget.y = startY;
    }
    if(Counter == 7) {}
    reply_txt. Text = "Congratulations!"
    }
    }
    volume_mc.buttonMode = true;
    poids_mc.buttonMode = true;
    temperature_mc.buttonMode = true;
    vitesse_mc.buttonMode = true;
    consomation_mc.buttonMode = true;
    pression_mc.buttonMode = true;
    surface_mc.buttonMode = true;

  • Purchase Photoshop elements 13 Best Buy and redemption of the code does not generate serial number

    So I buy Adobe Photoshop elements 13 Best Buy and follow the directions on the package to get a serial number, so I can install the application. I get an oops message that my code is not valid. Kind of strange see the package never been opened before. I guess I bought a boat at Adobe anchor. I knew that I went with the wrong product. Me once shame on you, screw me twice shame on me. It goes in the trash, and I will NEVER buy another Adobe product again. Adobe sucks!

    Hi dayxmr,

    no need to hate. Please, try the solutions posted by Brucgovn in this thread instead:

    Re: Photoshop elements 13 - can't get a response code in the offline activation method

    Kind regards
    Maurice

  • The University provided renewing his subscription student creative cloud, but the code does not work.

    I have been updated Creative Cloud, then update to Photoshop. When I open it it says that I started my 30 day free trial. I then went to my University for a new code site renew my account. The code provided for me did not work, I even updated my email on my account to my email to student, as site Web of the University said that it may be useful. I am still unable to renew my account. Thanks in advance!

    Hello

    Please see the following links:

    Serial numbers, purchase and product codes codes | Schoolgirl and her teacher editions

    Redemption code help

    If you still need help, mention code in a personal message, I will check and let you know if the redemption code is valid or not.

    Let us know if that helps.

    Kind regards

    Bani

  • hitTest on an object array - use removeEvent and now the code does not work

    I used hitTest to see what sunny (mc) would hit one of five objects in a table.

    BUT I had to use removeEventListener otherwise she'd keep ancestral. But now I can't "beat" the next object. Why the addeventListener method does not work yet?

    stage.addEventListener (MouseEvent.CLICK, myClickReaction);
    speeds the LONG NYPOTENUSE
    var v: Number = 5;
    var varObject:String;
    var i: Number;
    var arrayObjects:Array;

    complete table and initialize the variables i and varObject
    arrayObjects is ['chocolate', 'ice', 'pizza', 'Burger', 'sandwich', 'egg'];.
    i = 1;
    varObject = arrayObjects [i-1];
    trace (varObject);


    mouse click point
    var clickPoint:Point = new focus();
    function myClickReaction(e:MouseEvent):void {}
    clickPoint.x = mouseX;
    clickPoint.y = mouseY;
    addEventListener (Event.ENTER_FRAME, onEnterFrame);
    }
    function onEnterFrame(event:Event):void {}
    var xDistance:Number = clickPoint.x - sunny.x;
    var yDistance:Number = clickPoint.y - sunny.y;
    var angle: Number = Math.atan2 (yDistance, xDistance);
    Sunny.x += v * Math.cos (angle);
    Sunny.y += v * Math.sin (angle);
    If (clickPoint.x > = sunny.x) {}
    sunny.gotoAndPlay ("walk straight");
    trace (Math.ABS (xDistance));
    }
    If (sunny.x > = clickPoint.x) {}
    sunny.gotoAndPlay ("left foot").
    trace (Math.ABS (xDistance));
    }
    If (Math.abs (xDistance) < = 10) {}
    trace ("Works");
    sunny.gotoAndPlay ("static");
    removeEventListener (Event.ENTER_FRAME, onEnterFrame);
    }
    }
    addEventListener (Event.ENTER_FRAME, enterFrameHandler);
    function enterFrameHandler(e:Event):void {}
    If (sunny.hitTestObject (hotspot_pizza)) {}
    If (sunny.hitTestObject (varObject)) {}
    If (sunny.hitTestObject (this [varObject])) {}
    i = i + 1; / / ie: he comes to the table object and NOT the string.
    trace (varObject);
    removeEventListener (Event.ENTER_FRAME, enterFrameHandler);
    }
    }

    because you stop your loop when the first object has a positive hittest.

    What do you do?

  • TDMS not valid error 2501 but the code does not fully

    Hi all

    Only, I get this error when I have my DAQmx makes over sampling (I had another post on the forum where I had empty berries when you use continuous acquisition of data, sampling over who sorts)

    I've attached a screenshot of the code that the mistakes and probed to find out what is running, and it doesn't seem to be running properly. The for loop doesn't seem to work at all. If I run the highlight performance, it completes without error.

    All things crying that I missed?

    You have 0 items in your queue.  Thus, loops FOR can function as many times you have elements in the table (in this case, 0).  So what happens when you run a loop FOR times 0?  Well, all of your tunnels exit out the default value of the data type.  In the case of your references, you just lost them, the simple remedy is to use for your references shift registers.  This works since the shift registers are a single memory location.  So everything that you initialize a shift with you register will be released when the for loop is run 0 times.

  • Speakers work, but the microphone does not after OS reinstalled (dv6)

    Sound is played through the speakers, but the Bay internal microphone and external microphone device receive no signal. Windows recognizes these devices, but the volume on the sound Panel Monitor is inactive. In addition, the webcam works fine.

    I just reinstalled the operating system and everything worked fine before this date. I installed the driver IDT High Definition CODEC (same driver as before) and the Device Manager indicates that it is up-to-date and functioning normally. I am running the same OS as soon as before reformatting (Windows 7 64-bit).

    Yes, these devices are turned on and yes I have checked the noise levels of these devices.

    Laptop model: HP Pavilion dv6t-6100 CTO Quad Edition Entertainment Notebook PC LM720AV

    Thanks in advance!

    Update: when I try to run Sound Recorder I get an error message: could not find an audio recording device.

    Solved! I ran HP Support Assistant, and he recommended that I have install a BIOS update, I did. After you restart, audio input is recognized.

  • laptop HP 250 g2: off system code does not

    s

    HP 250 g2 portable system disabled the code does not

    Hello

    Have you changed anything on your machine? Please use the following code to the ICF disabled first code:

    44784339

    Kind regards.

  • 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);
        ...
      }
    
  • Activation code does not have Lightroom?

    Bought Lightroom cd with the code, could not install, cd was broken. Downloaded Lightroom, but the code does not work here.  What should do?

    You have a serial number, or a redemption code?

    Redemption Code http://helpx.adobe.com/x-productkb/global/redemption-code-help.html

    - and https://forums.adobe.com/thread/1572504

  • AdjustColor helps [code does not work]

    Hi all

    Following the code does not change the color of my clip.

    Please Guide

    import flash.filters.ColorMatrixFilter;
    import fl.motion.AdjustColor;
    import fl.motion.ColorMatrix;
    
    function changeBackgroundColor(color:Number):void{
         var adjustHue:AdjustColor  = new AdjustColor();
         adjustHue.hue = color;
         
         var matrix:Array = new Array();
         matrix = adjustHue.CalculateFinalFlatArray();
         
         
         var colorFilter:ColorMatrixFilter = new ColorMatrixFilter(matrix);
         var myfilters:Array = new Array();
         myfilters.push(colorFilter);
         
         rightPane_mc.paneBck_mc.filters = myfilters;
         
         
    }
    
    changeBackgroundColor(180);
    

    affect the rest of your instance of AdjustColor properties.  for example:

    with (adjustHue) {
              brightness=0;
              contrast=100;
              hue=color;
              saturation=100;
         }
    

Maybe you are looking for

  • Keyboard freezes after Suspend in Ubuntu 16.04 on Satellite S-50 d-A-10F

    Hello I use a Toshiba Satellite S-50 d-A-10F with Ubuntu 16.04. Every time the laptop wakes from sleep mode, the keyboard no longer works. A reboot is required to restart. I searched on the Ubuntu Forums, and it seems that the problem is related to t

  • No updated driver in dxdiag (Satellite M60) to display ATI

    I bought a Satellite M60-139 last week and I have huge problems with various games, gel, so I started to update my drivers. However after downloading and installing the ATI display driver, restart the pc and check dxdiag and the hardware Manager, the

  • Update error. Failed to check the updates. Event ID 1001

    Update error. Failed to check the updates. I rebooted the PC and the Windows Update service (it is activated and automatic when you restart).  Is there an event ID 1001 in the event log that shows when I try to run WinUpdate. Can anyone help solve th

  • Images blocked on incoming emails

    I have Windows Vista Home Premium with Internet Explorer 8 and that you recently had a problem with blocked Images.   I tried to 'See blocked images in an e-mail message', but this seems to be, through the bar of the Infromation which I don't see.  

  • Newby

    Hi to all here I am salvage24 and have a mail problem, that's what he tells me that I try to send a mail in Thunderbird sending the message failed. Check that your Mail & Newsgroups account settings are correct and try again. I can't find these setti