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 679529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T01:16:11+00:00 2026-05-14T01:16:11+00:00

In a ASP.NET/JQuery/.NET 3.5 environment, how would I show a DIV with a Don’t

  • 0

In a ASP.NET/JQuery/.NET 3.5 environment, how would I show a DIV with a “Don’t show this message again” option when clicked will not show the DIV to the user.

I would need to do it in 2 different scenarios – 1 with authenticated users and the other with anonymous users.

  • 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-05-14T01:16:12+00:00Added an answer on May 14, 2026 at 1:16 am

    I used jquery cookie plugin to set a cookie and read it before i show the dialog

    EXAMPLE: with a little bonus function

      if ($.cookie("warned") != "warned"){
        display_alert("WARNING: This diallog will not appear again until your next session");
        $.cookie('warned', 'warned', { expires: 0 }); 
      }
    
      function display_alert(message,title) {
        title = title || "Alert";
          $('#alert').text(message);
    
          $("#alert").dialog({
              autoOpen: false,
              bgiframe: true,
              modal: true,
            title:title,
              buttons: {
                  OK: function() {
                      $(this).dialog('close');
                  }
              }
          });
        $('#alert').dialog('option', 'title', title);
          $("#alert").dialog('open');
      }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi This is kind of peculiar requirement.. I am using asp.net and jQuery together
I would like to use jQuery in ASP.NET User Control. Can some one tell
I'm working on a new ASP.NET MVC / JQuery app which will need to
Environment used: ASP.NET, jQuery I have the following AJAX call: var tempVar = JSON.stringify({plotID:currentId});
I am working with the C#, ASP.NET framework [very new to this environment]. This
I have an application in asp.net with jquery mobile. In this application people can
How would I get my JSON string to my asp.net using jquery I am
I wrote this on a simple ASP.NET page: jQuery(document).ready(function() { jQuery(form).submit(function() { alert(kikoo); return
Is there a way using asp.net/jquery to toggle a div visibility when using a
I've developed a very simple ASP.NET (jQuery) application. The RDBMS is MS Sql Server

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.