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

  • Home
  • SEARCH
  • 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 7561835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:15:40+00:00 2026-05-30T13:15:40+00:00

My actual prob is asp post back issue and html controls . i try

  • 0

My actual prob is asp post back issue and html controls.
i try to solve this in this way.

if ($('#rdb1').attr("checked")) {
                document.cookie = $('#rdb1').attr("id");
                check = document.cookie.split(';');
                flag = check[0];

            } else {
                document.cookie = $('#rdb2').attr("id");
                check = document.cookie.split(';');
                flag = check[0];
            }



            if (flag == "rdb1") {
                $('#rdb1').attr("checked", true);
                $('#rdb2').attr("checked", false);


            } if (flag == "rdb2") {
                $('#rdb1').attr("checked", false);
                $('#rdb2').attr("checked", true);
        }

its work.But how to remove cookie i dont know.I search hear and findjavascript – delete cookie I don’t want a function.Just want to delete cookies in next button.how to do this?Thanks.

  • 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-30T13:15:42+00:00Added an answer on May 30, 2026 at 1:15 pm

    You can just trigger that function in you button’s onclick event..

    <script type="text/javascript">
    function del_cookie(name)
    {
        document.cookie = name + '=; expires=Thu, 01-Jan-70 00:00:01 GMT;';
    }
    </script>
    <INPUT TYPE=BUTTON OnClick="del_cookie('put name of cookie here');" VALUE="Clear Cookie"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Link to my actual flash demo: http://nside-elite.techiedesign.net/redbox/flashtest.html I created this navigation using Adobe Flash
This is my actual div: Pic1 This is the Pic1 HTML code, it will
If this is my actual URL to a file: http://www.example.org/posts.php?post=example-post-name In my .htaccess file,
What is the actual use of TempData collection in asp.net MVC, I need pros
I know in an actual query, you can use auto_increment=1 but how is this
This is not an actual Xcode error message, it is a warning that has
This question is about organizing the actual CSS directives themselves within a .css file.
my actual problem is that .live() jQuery method is not working. This si the
The actual problem I'm trying to solve is, I want to automatically find out
I need the actual debug symbols from the released version of ASP.NET MVC 2

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.