?
Solved

Disappearance of Confirmation box as the back end page refreshes

Posted on 2005-04-15
3
Medium Priority
?
174 Views
Last Modified: 2011-10-03
Hi,

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') {
                        globalFormName.elements[i].style.visibility='visible';                        
                        }
                  }
                  document.getElementById('cancelDiv').style.display="none";
                  document.getElementById('deleteDiv').style.display="none";
                  document.getElementById('dirtyDiv').style.display="none";
                  document.getElementById('broadcastRevisionsDiv').style.display="none";
                  document.getElementById('forceCheckPointDiv').style.display="none";
                  document.getElementById('broadcastParametersDiv').style.display="none";
                  document.getElementById('RecallDiv').style.display="none";
      }

0
Comment
Question by:ramsharma23
1 Comment
 
LVL 19

Accepted Solution

by:
Kuldeepchaturvedi earned 2000 total points
ID: 13794063
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
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Strategic internal linking is often considered an SEO power technique, especially for content marketing. Do you need to hire an SEO agency to optimize you internal linking? No, this article will help you understand the basics of internal linking and…
Last month Marc Laliberte, WatchGuard’s Senior Threat Analyst, contributed reviewed the three major email authentication anti-phishing technology standards: SPF, DKIM, and DMARC. Learn more in part 2 of the series originally posted in Cyber Defense …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

850 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