dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: how to disable popup on refreshing the page

  1. #1
    Join Date
    Apr 2014
    Posts
    1

    Thumbs up how to disable popup on refreshing the page

    Hi, am displaying a popup using
    function showmsgwindow(){
    $('#msgwindow').show();
    }
    and hiding using the below code
    function hidemsgwindow(){
    $('#msgwindow').hide();
    } its showing the popup perfectly.. but when am refreshing the page again its showing the same popup.. but it should not any help !!!!!!!1

  2. #2
    Join Date
    May 2006
    Location
    Somewhere behind your screen
    Posts
    1,689
    if the page is done with php you can use $_SESSION to store some variable which is checked onload and from this the popup knows appear or not. otherwise you can use cookies the same way
    xxx: Guess Buddhist riddle: "What is the sound of one hand clapping?"
    yyy: facepalm

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles