JavaScript/AJAX - Show image while the update is done and then hide it.

I want to do an update with AJAX, but I want an image 'pending' to be displayed before the update and then hide later. In this way, if there is a delay in the update or a line lock, the screen freezes not just, it displays an icon of 'Please wait '.
I use code like the following to record in the database when a field is not checked (does it facilitate the trial):
<script type="text/javascript">
function deselect_field(f) {
  f.disabled=true;
  f.className=f.className + " saving";
  
  var v=new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=SC_TEST',0);
  v.add(f.name,f.value);
  v.get()

  f.className=f.className.replace("saving"," ");
  f.disabled=false;
}
</script>
The economy class defines the background. I tested without the parameter no and it works fine. I think the problem is ajax is called too quickly, that is to say until the screen has had the chance to update.

SO-, my question is, how do I get the display of images (animated gif) while the AJAX call is the treatment and then hide it in the end?
Rather not use JQuery if possible.

Thank you

Hello

See this example made by Carl Backstrom
http://HTMLDB.Oracle.com/pls/OTN/f?p=11933:62:2973815688498857:no:RP:

Kind regards
Jari

Tags: Database

Similar Questions

  • I can't update my SP6 by CC. The update reached 54% and then hangs. I am unable to use camera raw for my camera. Any ideas please?

    I can't update my SP6 / camera first through my CC. I tried repeatedly, the update reached 54% and then hangs. I am unable to use my main cameras, as the update contains software for cameras said. Please notify.

    Hello

    You can also see error download, installation or update of Adobe Creative Cloud applications

    Hope that helps!

    Kind regards

    Sheena

  • tx2100ed starts works very well for a while, the screen suddenly freezes and then the hard drive stops

    the event appears with the decrease in intervals to the extent that it is not usable either

    also: using the hardware start button makes pc work for a few seconds first, that the system shuts down again. only after about 3,4,5 times system starts [and dies as described]

    suggestions welcome

    HDD control ok

    commissioning has failed at the beginning, I decided to start from scratch

    family XP Edition installation

    -error msg

    -cannot copy the files cmincfg.xml, ipcgf, osinfo.xml, potscfg.xml, pppcfg.xml,

    xmlp_beak.xdr, even with weed instead of beak years then bdg, ecp, fcw, hlp, loc, DSS, mcc, xmlp, mcu, mpu, reg, ssd

    After reading http://forum.notebookreview.com/windows-os-software/220341-xp-installation-wont-copy-cmnicfg-xml.html decide to get in shape first

    Startup Repair couldn't fix windows in order to start from there

    When you start the XP CD again (you are looking for a format option), option appears "c:\ initialization?

    After choosing this option, pc dies immedtiately

    now using cd Recovery Manager (n ° 2 of 2; #1 did not start), I created after the purchase of the pc

    option "reformat the partition of windows from your hard drive.

    PFF

  • As a person in the main video takes the floor, I want to insert an image, while the audio stays...

    I have one main video where a woman takes the floor. In his speech, I would like to continue talking while using different images that makes her disappear, but not the audio... How do I with IMovie on my IPhone?

    See iMovie for iOS (iPhone, iPod touch): organize audio clips. You should be able to detach the original clip audio but keep them lined up, allowing you to adjust the video and then move on to still images while the audio continues to play.

    TT2

  • Recently, I did the update of security and had 17 updates to install for Windows Vista Home Premium SP2.

    Recently, I did the update of security and had 17 updates installed.  After installation I closed the computer for the day.  The next time that I started it upward, I received a stop error message 0x81ecbe79 and he started a reboot loop and I kept getting error code 0 x 81 different whenever it restarted.  The first 4 digits are the same with the rest changing with the exception of the 79 at the end.  So far he has done about 30 times until I finally stopped him frustration.  Also sometimes it would ask if I wanted to check on the web for a fix, but he continued the loop.  The loop stops at different places during the boot sequence.  Once he got almost completely before it restarts and a couple of times, it was in the screen of welcome and rebooted.  Is there a fix or do I have to do a clean install?  The way it is now I'm not sure that I can make a back up of my wife's Family Tree Maker files and get it all.

    1. try to restore the system and if necessary a startup repair.

    2. data recovery.

    3. where questions of Windows updates.

    1.

    Restore point:

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    If restore work not and you do not have a Vista DVD from Microsoft, do a repair disc to do a Startup Repair:

    Download the ISO on the link provided and make a record of repair time it starts.

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu.

    When you have changed that, insert the Bootable disk you did in the drive and reboot.

    http://www.bleepingcomputer.com/tutorials/tutorial148.html

    Link above shows what the process looks like and a manual, it load the repair options.

    NeoSmart containing the content of the Windows Vista DVD 'Recovery Centre', as we refer to him. It cannot be used to install or reinstall Windows Vista, and is just a Windows PE interface to recovering your PC. Technically, we could re-create this installation with downloadable media media freely from Microsoft (namely the Microsoft WAIK, several gigabyte download); but it is pretty darn decent of Microsoft to present Windows users who might not be able to create such a thing on their own.

    Read all the info on the website on how to create and use it.

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    ISO Burner: http://www.snapfiles.com/get/active-isoburner.html

    It's a very good Vista startup repair disk.

    You can do a system restart tool, system, etc it restore.

    It is NOT a disc of resettlement.

    And the 32-bit is what normally comes on a computer, unless 64-bit.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    2.

    Data recovery:

    1. slave of your hard drive in another computer and read/save your data out there.

    2. put your Hard drive in a USB hard drive case, plug it into another computer and read/save from there.

    3 Alternatively, use Knoppix Live CD to recover data:

    http://www.Knopper.NET/Knoppix/index-en.html

    Download/save the file Knoppix Live CD ISO above.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    http://isorecorder.alexfeinman.com/isorecorder.htm

    Download the Vista software from the link above.

    After installing above ISO burning software, right click on the Knoppix ISO file > copy the Image to a CD.

    Knoppix is not installed on your PC; use only the resources of your PC, RAM, graphics etc.

    Change the boot order in YOUR computer/laptop to the CD/DVD Drive 1st in the boot order.

    Plug a Flash Drive/Memory Stick, BOOT with the Live CD, and you should be able to read the hard drive.

    When the desktop loads, you will see at least two drive hard icons on the desktop (one for your hard drive) and one for the USB key.

    Click on the icons of hard drive to open and to understand which drive is which.

    Click the icon for the USB drive and click on "Actions > Change the read/write mode" so you can write to disk (it is read-only by default for security reasons).

    Now to find the files you want to back up, just drag and drop them on the USB. When you're done, shut down the system and remove the USB key.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    3.

    Windows Update Forum:

    You will get the best help for any problem of Update/Service Pack in the Windows Update Forum; the link below:

    http://social.answers.Microsoft.com/forums/en-us/vistawu/threads

    When you repost here, kindly include the Error Codes, and exactly what is happening when you try to update.

    In this way, you will receive the best help.

    See you soon.

    Mick Murphy - Microsoft partner

  • Is it possible to have the Parallax scrolling and changing slide show? (so the slideshow still looks and looks you scroll your top content once again)

    Is it possible to have the Parallax scrolling and changing slide show? (so the slideshow still looks and looks you scroll your top content once again)

    You can apply the opacity to images or defining a key position for slide show as well as with the page highlight opacity changes and will bring similar effect.

    Thank you

    Sanjit

  • Downloaded the update for Firefox, and now I can't get rid of AOL.

    Downloaded the update for Firefox, and now I can't get rid of AOL. I tried to remove anything that is related to AOL and when restart Firefox... There are once again AOL. I even reinstalled Firefox... He was there again.

    Where AOL is displayed - homepage?

    I think the first thing to check is if you have any modules related to AOL. These can replace your regular settings. You can view and disable all extensions essential or unknown here:

    Firefox orange (or the Tools menu) button > addons > Extensions category

    Note that in most cases, you should use the link to restart Firefox to actually disable the extension that you have chosen to disable.

    Then, to fix your homepage, try the procedure described in this article: How to set the home page.

    If there is a problem with your suppliers of research from Google for AOL, try this extension:

    https://addons.Mozilla.org/en-us/Firefox/addon/SearchReset/

    Any improvement?

  • I update my windows and then this morning I was listening to show then just audio stop I try troubleshooting, but nothing happens

    like others, I update my windows and then this morning I listened show then just audio stop I try troubleshooting, but nothing can happen, you guys help me please?

    Please read this blog to find out how to troubleshoot audio http://blogs.technet.com/b/mediaq/archive/2015/07/30/windows_2d00_10_2d00_audio_2d00_troubleshooting_2d00_tips.aspx

  • Whenever I have shut down my computer it detects 2 updates. I checked the updates of Windows and it seems to be the same ones every day.

    Whenever I have shut down my computer it detects 2 updates. I checked the updates of Windows and it seems to be the same ones every day. And they did so why they keep needing to be updated? They are: a security update for .NET Framework 2.0 SP2 and 3.5 SP1 on Windows Server 2003 and Windows XP x 86 (KB2518864) and: Security Update for Microsoft .NET Framework 2.0 SP2 on Windows Server 2003 and Windows XP x 86 (KB2539631)

    Visit the Microsoft Solution Center and antivirus security for resources and tools to keep your PC safe and healthy. If you have problems with the installation of the update itself, visit the Microsoft Update Support for resources and tools to keep your PC updated with the latest updates.

    UTC/GMT is 16:02 Friday, September 23, 2011

  • I was forced to upgrade to Windows Live Messenger, but even after the update of XP and the office, I always an OnCatalogResult: error 0x0072ee6

    I was forced to upgrade to Windows Live Messenger, but even after the update of XP and the office, I always an OnCatalogResult: error 0x0072ee6

    Hi jcyho,

    Thanks for posting. I have a little trouble understanding your question. If possible you can post back with more detailed information, we can help you with this problem.

    Shawn - Support Engineer - MCP, MCDST
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • We have added images to the Windows Photo Gallery and they will not come with other photos in our screensaver. What should we do?

    We put family photos in Windows Photo Gallery and then transfer them to a disc for recording.  We leave some in the Windows Photo Gallery and then click on the photos in the section of the control panel of the computer screen saver.  Old photos still come on t he screen saver, but the new ones that do not.  In addition, any image that we place it anywhere on the computer in a file or something else happens now in the photo gallery, and they did not have it before.  We need to stop that as well.

    We want to use all the photos in the photo gallery for the screen savers.

    We would like to stop pictures in other parts of the computer to be placed automatically in the photo gallery.  We want only to directly uploaded photos.

    Hello

    Try to make the clean boot and see if it makes any difference.

    To the clean boot you start Windows by using a minimal set of drivers and startup programs. This type of boot is known as a "clean boot". A clean boot helps eliminate software conflicts.
    For more information you can check the link below:

    http://support.Microsoft.com/kb/929135

    Let us know if it helps.

  • When I enter an apostrophe when online, it still shows the quick search box, and then I can not type more

    original title: quick search

    When I enter an apostrophe when online, it still shows the quick search box, and then I can not type more

    Hello

    1. it occurs when you use a particular application or all applications?
    2 have you tried to use a different keyboard?

    Method 1.
    Check what happens when you use the on-screen keyboard. If it works fine here so you can check using another keyboard.
     
     
    Method 2.
    If the problem persists using a keyboard screen ion then run the sfc scan and check.
    Use the (SFC.exe) System File Checker tool to determine which file is causing the problem and then replace the file.
     
    To do this, follow these steps:
    a. open an elevated command prompt. To do this, click Start, click programs, accessories principally made, right-click Guest, and then click Run as administrator. If you are prompted for an administrator password or a confirmation, type the password, or click on allow.
    b. type the following command and press ENTER:
    sfc/scannow

    The sfc/scannow command. analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions.
     
    More information on SFC scan found in this document:
    http://support.Microsoft.com/kb/929833
     
     
     
    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • I did the update of windows, and there was a lot of mistakes. I then tried to restart the system, and it is said that acro32.exe is it prevents to close?

    Original title: acro32.exe

    I did the update of windows, and there was a lot of mistakes. I then tried to restart the system, and it is said that acro32.exe is he keep awake. What is and how to fix it?

    If you really see a message about "acro32.exe" is probably malware you should scan your computer with the virus eset online scanner and then download, update and run the free version of MalwareBytes AntiMalware.

    If, as is most likely, the message concerns AcroRd32.exe, the main executable file of Adobe Reader.  Go to control panel > programs and features and uninstall Adobe Reader.  If you have problems uninstalling Adobe Reader, see--> http://labs.adobe.com/downloads/acrobatcleaner.html

    Assuming that things patches, install Foxit Reader (free) instead--> http://www.foxitsoftware.com/Secure_PDF_Reader/

    Or, if you really want Adobe Reader back, go here--> https://get.adobe.com/reader/ (remember to uncheck the box to install McAfee Security Scan or any other 'add-on free")

  • Cascades: How to set the background image for the menu drop down and etc...

    Hello

    Is there an easy way to set the background image for the menu drop down and etc, current support only black as a background?

    Thank you

    Tom.

    Welcome to the forums!

    This is currently not supported unfortunately.

    I encourage you to save a feature for this request:

    https://www.BlackBerry.com/JIRA/secure/dashboard.jspa

    See you soon!

    Martin

  • image on the screen grows, don't see the Start button

    G5200uk-m, nvidia display computer

    image on the screen grows, don't see the Start button

    I hope it works for you. Let us know how it goes.

Maybe you are looking for