Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8453875
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T11:52:30+00:00 2026-06-10T11:52:30+00:00

Basically, I’m looking to find out a way to create a pop up window

  • 0

Basically, I’m looking to find out a way to create a pop up window that prompt a user a question, and in the window I’d like to have a checkbox saying “Don’t display this message again”. I’m not quite sure how to go about this, I’ve done a bit of research but I’ve found nothing, I’d love to be able to find out how so I can help the community with the result!

So to sum up, I want a pop up window that checks if the user has “checked” do not display, then it will not perform the function, the function and jquery is fine I can do all that, but as for the “per user” request, I’ve got no idea 🙁

I’d love the help guys!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T11:52:32+00:00Added an answer on June 10, 2026 at 11:52 am

    Assuming PHP:

    $('.checkbox').on('change', function(){
       if($(this).is(':checked')){
           var doNotShow = TRUE;
           //the chekbox has been checked, the user does not want to see this again.
           $.ajax({
             url: 'path/to/my/controller.ext',
             data: 'doNotShow='+doNotShow,
             success: function(data){
               //the data has been sent to the server, close the popup box, do whatever is necessary here.
               // change the window location, whatever.
             }
           });
    
       }
    });
    

    The serverside PHP code (path/to/my/controller.ext) —

    if(isset($_POST['doNotShow']) && $_POST['doNotShow'] == TRUE):
      $_SESSION['doNotShow'] = $_POST['doNotShow'];
    endif;
    

    Now, before you load that dialog box, you’ll want to add some PHP conditionalizing it.

    <?php
    if(!isset($_SESSION['doNotShow'])):
    ?>
        //javascript to launch the popup, the session is not set.
    <?php
    elseif(isset($_SESSION['doNotShow']) && ($_SESSION['doNotShow'] == TRUE)):
    ?>
        //don't launch the popup, they don't want to see it, whatever..
    <?php
    endif;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically, I have a UIImageView that will loop through 8 PNGs over 0.5 seconds.
Basically from a database I am getting data that is formatted like this nameofproject101
Basically I have an iframe loaded that is accessed from the parent whenever it
Basically, I have a main page (parent page) with a link that opens up
basically I have a function that resizes elements accordingly with jquery triggering the function
Basically I have an IFRAME that contains a given page - I want to
Basically, I would like a page that consist of a slideshow that contains a
Basically my question is, if I have a number string, and i'm going to
Basically I have some simple code that does some things for files and I'm
Basically I have two models: User and Godfather. The godfather table has three columns:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.