Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2002
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Java Script Data is getting lost

    Hi,

    We have a J2EE Application the front end client uses frames and Java script / Applet. On our boxes saves and everything works fine. In the Development environment server or when I put my app on the production environment and when trying to save the data,Data is getting lost

    We have multiple frames like 3 or more frames on each page and lots of Javascript.
    We have tabs on pages after we enter data on to the tabs to save data either we can hit the save button or click the save tab both call the same function but the save button saves the data and the User stays in the same tab. And when the User hits the next tab that is where all the problem lies some time it saves and some times it dose not save the data. Only difference here is user is on the next tab.

    Due to frames Is there a race condition in Java script here which is causing the data to be lost or is the time to complete the operation is less and we are starting new process.

    has any one come across this please let me know if you know any solution for this.

    Regards

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    The Planet Earth Code Poet: True
    Posts
    282
    Thanks
    0
    Thanked 1 Time in 1 Post
    Without seeing your code I would guess that the porcesse to save is not finished before the move is made. Can you post the realevant code?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •