How to stop reloading when confirmation says ok

hi every body,
i got struk up with the confirmation option in java script...
In a registration screen, i gave some text boxes to enter some fields to store ino data base,if user forgot to save he clicked on some other links in the page he should get confirmation status whether want to save / not........
If Yes means the fields should validate and return truemeans submit the form else, the should remain in same screen with the entered values..
Please any one can help in this... actualy i have done till validation but i am not able to focus in same page with value if validation rteurns false...
please help me in this..
Thank u in advance...
chintu...

var page=false;
function saveconfirm()
               if(submitflag=='0' && page==true)
                    var confm=confirm("Page status is changed,do you want create new user");
                    if(confm=='true')
                         alert("Click on save to save ur changes.");
                         document.form[0].focus();
                         return false;
               return false;
          function updatepage()
               page=true;
          function changedvalues()
               var totalele=document.emailaddressForm.elements.length;
               for(var i=0;i<totalele;i++)
                    alert(i+":"+document.emailaddressForm.elements.name+document.emailaddressForm.elements[i].type);
                    if(document.emailaddressForm.elements[i].type=='text')
                         //alert("text value");
                         document.emailaddressForm.elements[i].onchange=updatepage;
                    //alert("text value1111111");
     </script>
i caled save conferm on body unload and changedvalues at the end of the page.. please checkwhy iam not getting the result,......

Similar Messages

  • How to fix file when it says, "Cannot open file " ". Adobe Indesign does not support the file format, a plug-in that supports the file may be missing, or file may be open in another application." It worked one second, I saved and closed the file, then tri

    How to fix file when it says, "Cannot open file " ". Adobe Indesign does not support the file format, a plug-in that supports the file may be missing, or file may be open in another application." It worked one second, I saved and closed the file, then tried to reopen and now it won't work. I am using Adobe InDesign CS5. It is the only version on my comp. I have tried opening on another comp & copying the file – same error comes up. PLEASE HELP

    First check the version of the document with Jongware's script "Identify.jsx" (ExtendScript/JavaScript).
    You can find it here:
    [Ann] Identify Your InDesign File
    If it is CS 5.5 or above, you need someone to open it in the version the script says and export an IDML representation from that. Another way would be to install a 30days version of CS6 or above (CC) and do it yourself.
    In regards of the script showing a result for InDesign files higher than CS6:
    CS7 = CC v9
    CS8 = CC v10 = CC-2014 or CC2014.1
    Uwe

  • How do I deactivate when error says I must run in admin mode?

    How do I deactivate when error says I must run in admin mode even though I am already in admin mode?

    CC desktop lists applications as "Up to Date" when they are not
    -http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html

  • HT1212 when i phone is disabled how to put password when it says try again later 22 million minutes

    when i phone is disabled how to put password it says try again later 22 million minutes
    when i phone is disabled how to put password when it says try again later 22 million minutes

    Do as the manual says to do and restore the iphone.

  • How to stop delay when streaming data from a script as URL to an Applet?

    I have a strange problem and do not know what is causing it. Hope someone here with some experience can help.
    I have a Java Applet which makes a line graph of data. The data source is to be streaming, where the first chunk of data comes from what is already in a data file, and then new data is sent whenever it is ready. The problem in brief is that if I just collect and show the data from the data file and do not stream everything works fine. If I also have the streaming and wait for a long time, everything works fine, but when the applet is first loaded, the graph is not shown until after a long delay time.
    Here is a snippet of the applet code:
             String dataendpoint = "http://phpfunction.php";
             URL url = new URL(dataendpoint);
             InputStream is = url.openStream();
             String line;
             InputStreamReader isr = new InputStreamReader(is);
             BufferedReader br = new BufferedReader(isr);
             while ((line = br.readLine()) != null) {
                   // my code here to handle each line of data which prepares it for
                   // showing on a line graph.
             } In the above, I show the dataendpoint variable hardcoded, but in reality this comes as an Applet parameter. It is a URL of a php script which is on the same server as the applet's code and there are no access problems here.
    The PHP script does the following: It first opens a data file, parses it and prints it out to its standard output using echo or printf statements. The script then enters a loop where it periodically looks to see if new data has been made available. If so, that new data is also printed out to the standard output.
    The PHP script looks like this (in pseudo code):
       // open data files, read lines, and send to standard output using echo
       // flush buffers using ob_flush() and flush() calls
       while (1) {
          sleep(30);
          // get new data, if any, then send to standard output
          // flush buffers again
       Again my problem: If I have the PHP script exit before the while loop everything works fine, my applet makes the graph immediately.
    However, if I include the while loop, then initially the applet does not appear, not until some time afterwards, and then the applet works like it should, scrolling along every time new data arrives.
    I have done a Wireshark sniff and I can see that the initial data is being sent out the the browser and applet immediately. So I do not think it is a buffering problem on the PHP side.
    I have wrapped every Applet code line with debug print statements and from the Java console I see that the Java Applet is stopping at this line:
    InputStream is = url.openStream();
    Can someone explain what is happening here? Why the delay in returning from the openStream() function and how to avoid it?
    By the way, the server is Linux and the Applet is being run on Windows Vista, and I have tried both Internet Explorer and Firefox, both give the same behavior.
    Thanks in advance!
    Steve, Denmark

    I still cannot solve this problem, but I have some more observations:
    1) yes it is a JApplet, and yes, the data streaming is performed in a separate thread.
    2) Wireshark sniffing shows that data sent out by the PHP datasource on the server is sent immediately, and is not buffered (am using ob_start(), ob_flush() and flush() alls in the PHP script).
    3) On Windows Vista, using Internet Explorer or Firefox, there is a constant 30 second delay before the Applet returns from this line: InputStream is = url.openStream();
    4) After this 30 seconds, data appears in the Applet, but it can be seen also with java console debug prints that the data seems to be buffered. The newest data shown in the Applet is not the newest data sent to the client by the PHP datasource script.
    5) On a SUSE Linux client, the Applet works as it should, there is no delay time in showing the data.
    It appears as if there is on Windows a buffering of data which I do not wish to have and which does not occur on Linux. I need to find out how to get the URL openStream() call to return immediately allowing the initial data to be read and shown on the Applet. And I need to remove the buffering of data so that the data can be shown on the Applet when it arrives.
    Can anyone help? Why does this work on Linux but not on Windows, and what can I do, at best within the Java code, to get the Applet to work on Windows as it does on Linux?
    Thanks!
    Steve, Denmark

  • How do I update when Cloud says already updated?

    Apps would not run because of error, so I deleted them. Cloud says they are updated when actually the programs (Fireworks and Flash) have been deleted. How do I update those programs?

    CC desktop lists applications as "Up to Date" when they are not
    -http://helpx.adobe.com/creative-cloud/kb/aam-lists-removed-apps-date.html

  • HT203200 one song in a downloaded album is incomplete; how do I redownload when it says "downloaded"?

    One song in a purchased album did not completely download (it just stops playing and moves to the next song). How can I re-download that song when the items shows "downloaded"?

    Delete the current copy and then download again (free) from your purchased history. If the problem persists contact iTunes Store support staff through the report a problem links in your account history.
    tt2

  • How to stop voice when i tap

    i want to stop the voice when i tap on anything and went to SETTINGS, GENERAL, TURN ON MULTITASKING GESTURES, but not able to go any further.  please help.  Thanks

    Settings>General>Accessibility>VoiceOver>Off

  • How to stop preview when opening Excel?

    Irritating problem that I can't make go away:  I am using a MacBook Pro assigned to my by my employer.   I use Excel every day and every day, when I click on an Excel file icon "preview" opens the file!   I hate that.  I want Excel to open the file.  I have to close everything click on the Excel icon and then open the file. (1) why is this happening? Why can't I simply double click on an Excel icon and get Excel to open the file?   (2) how to I shut off this "feature" or prevent this from happening in the future?  Thank you.

    Highlight one of toy Exel files, click command I, it will bring up the window you need, near the bottom you can select open with (Exel in this case) and below click all. Hope this helps.

  • TS1717 how does one fix when message says: "you cant open iTunes because it is either damaged or incomplete"

    When trying to launch iTunes, I am getting the message "You cant open application iTunes because it may be damaged or incomplete". Has anyone experienced this before and how did you fix it? I have been using Time Machine, and tried to restore my iTunes, but that does not seem to help.

    To re-install iPhoto
    1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
    2. Download it from the App Store to reinstall It's on your Purchases List* there.
    For older versions that have been installed from Disk you'll need these additional steps:
    2a: On 10.5:  Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
    2b: On 10.6: Those receipts may be found as follows:  In the Finder use the Go menu and select Go To Folder. In the resulting window type
    /var/db/receipts/
    2c: on 10.7 or later they're at
    /private/var/db/receipts
    A Finder Window will open at that location and you can remove the iPhoto pkg files.
    3. Re-install.
    If you purchased an iLife Disk, then iPhoto is on it.
    If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
    *Sometimes iPhoto is not visible on the Purchases List. it may be hidden. See this article for details on how to unhide it.
    http://support.apple.com/kb/HT4928
    One question often asked: Will I lose my Photos if I reinstall?
    iPhoto the application and the iPhoto Library are two different parts of the iPhoto programme. So, reinstalling the app should not affect the Library. BUT you should always have a back up before doing this kind of work. Always.

  • How to install firefox, when trying says previous version detected must reboot. Stuck in infinite loop

    Trying to install newly downloaded firefox (had previously removed about a month ago through programs uninstall), however when I try to run the install, it says a previous version is detected, and the system must reboot. System reboots, but install never happens, I go to run the download again, and it appears I'm stuck in an infinite loop. I can't get latest version firefox to install

    I succeeded in installing Firefox after getting this message.
    I went to add/remove programs to verify that Firefox wasn't on the list, then I went to the program files directory and deleted the Mozilla/Firefox directory that was left over from the uninstall.
    I attempted to reinstall Firefox and, voila, it installed with no issues.
    I know it can be dangerous to delete a program directory, but if you have properly uninstalled the program itself and it isn't in the add/remove list (but still exists in the program directory), deleting the parent directory for the program should affect system performance.
    I have done this dozens of times over the years and never had a problem (I have NEVER deleted a system directory though. That would be a BAD idea).
    I hope this helps.
    /CDNVIKING

  • HT201210 how to update iphone when message says firmware is not compatible

    How can I update my iphone to current software of ios5? I keep getting an error message that my firmware is not compatible for the update. My current ios is 4.0.2, please help. thanks.

    Blodwen wrote:
    ... I tried to update it by going to software and clicked update but it said 'iOs 5.1.1 is the most recent update' and same story when I plugged it into my computer and tried to update it on iTunes, it just said the same thing.
    Then it is an iPad 1...  which can only go as far as iOS 5.1.1

  • HT1212 how to restore iphone when it says connect to itunes

    how do i restore my iphone after it says connect to itunes

    If you cannot remember the passcode, you will need to Restore the device...
    Connect to iTunes on the computer you usually Sync with and Restore...
    http://support.apple.com/kb/HT1414
    If necessary Place the Device into Recovery mode...
    http://support.apple.com/kb/HT1808
    Note on Recovery Mode.
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...

  • How to update iPad when it says that it is updated.....and it's not.

    I recently got a used iPad 2 from a friend and was really excited to start using it. But when I started using it and trying to download apps and such most of them said that they needed the iOs 6 or iOs 7. So I tried to update it by going to software and clicked update but it said 'iOs 5.1.1 is the most recent update' and same story when I plugged it into my computer and tried to update it on iTunes, it just said the same thing.
    Does anyone know how to fix this so I can update my iPad?
    A thousands thanks to all who take the time to help in anyway possible. :)

    Blodwen wrote:
    ... I tried to update it by going to software and clicked update but it said 'iOs 5.1.1 is the most recent update' and same story when I plugged it into my computer and tried to update it on iTunes, it just said the same thing.
    Then it is an iPad 1...  which can only go as far as iOS 5.1.1

  • How to fix itunes when it says "Apple Mobile Device Not started"

    whenever i open itunes with my ipod connected to my usb port, it say the apple mobile device is not started. i have no idea what to do, and god knows im not a computer whiz. if anyone can help me that would be EXTREMELY appreciated.
    -Thanks

    Hello Jresnik,
    And welcome to Apple Discussions!
    See this Apple support document for more help.
    http://support.apple.com/kb/ts1567
    B-rock

Maybe you are looking for

  • Selection screen while using PNP

    Dear Freinds,                 I have one question relating to logical database PNP. If i use the logical databasePNP we willget the default screen with fields PERNR,EmploymentStatus,CompanyCode , Payroll area etc. But i can see that for the above fei

  • I am trying to move my Acrobat 9 Pro Extended  from my older HP Win7 Pro notebook to my new HP Win 7

    I am trying to move my Acrobat 9 Pro Extended from my older HP Win7 Pro notebook to my new HP Win 7 Pro notebook. This should be WAY easy, and it's not. Sofware downloaded from MS/HP after new noteboook was safely home. Used Microsoft transfersoftwar

  • Multiple Codecs in Single Timeline ---Sequence Settings

    This has to do with determining the correct sequence setting when using source material that is originally compressed in different codecs, some of which has square pixels, some ntsc "rectangular pixels," many of which are compressed at different fps.

  • Oracle 8i Client install over Oracle 9i

    I am trying to install Oracle 8i Client over top my Oracle 9i installation to support 8i EXP processess. It is appearing that it works (i.e. Universal Installer runs through everything like it is installing) but afterward if I run the Univ Installer

  • BI 7.0 Write Optimized Datastore - Deltas

    Hello, I have been using 2LIS_03_BF and 2LIS_03_UM extractors to bring data into BI 7.0 (SP14) into custom datastore.  We are not using SAP delivered cube. I changed from standard DSO to write optimized DSO to bring everything in from the _UM extract