Disappearance of Confirmation box as the back end page refreshes

Posted on 2005-04-15
Last Modified: 2011-10-03

I have a page which refrehses every 60 seconds.  In that page I have a cancel button. On clicking this button, it opens a layer for confimation box (code for creating the layer is given below).  The issues is, when the page auto-refreshes the confirmation box gets disapperd.  where as I need to retain the confirmation box till the user confirms.  

Can anyone please tell me how to reatain the confirmation box when the parent page refrehses.

function hideModal(globalFormName)
                  for (var i=0; i < globalFormName.elements.length; i++) {
                  if (globalFormName.elements[i].type == 'select-one' || globalFormName.elements[i].type == 'select-multiple') {

Question by:ramsharma23
    1 Comment
    LVL 19

    Accepted Solution

    when this pops up you can have a hidden value in the parent page which gets submitted to the server..
    server shd send it back to the page... after this you can use the value to determine if you need to call the pop up code again

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
    DECT technology has become a popular standard for wireless voice communication. DECT devices are not likely to be affected by other electronic devices and signals because they operate in a separate frequency-band.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now