Executing JavaScript before page refresh

Last post 07-13-2009 8:18 AM by harieis. 1 replies.

Sort Posts:

  • Executing JavaScript before page refresh

    07-13-2009, 3:43 AM
    • Member
      point Member
    • DrSpock
    • Member since 07-13-2009, 7:39 AM
    • Posts 2

    Hi,

    I am relatively new to using ASP .NET. I have a JavaScript function that gets called upon an ASP .NET ImageButton being clicked. The JavaScript function performs a simple animation of something moving across the screen. However, upon the button being clicked the server is also sending a new page and the browser recieves the new page and displays it before the animation is complete.

    I need way for the new page to load only once the JavaScript animation I have is complete.

    Thank you for your help.

  • Re: Executing JavaScript before page refresh

    07-13-2009, 8:18 AM
    • Member
      561 point Member
    • harieis
    • Member since 04-23-2009, 8:11 AM
    • Trivandrum
    • Posts 150

    Hello

    Can you paste the full source code..........................



    Please, Mark as Answer if this reply helped you
    ==============================================

    Harikrishnan.S
    Trivandrum,Technopark,
    Kerala,
    India
    harikrishnans82@gmail.com
    ==================================================
Page 1 of 1 (2 items)