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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:48:02+00:00 2026-05-25T01:48:02+00:00

The code below works great in Chrome and it works intermittently in IE7 and

  • 0

The code below works great in Chrome and it works intermittently in IE7 and not at all in IE8… Originally I wasn’t disabling/enabling the checkboxes, but since I noticed IE data not updating properly I thought maybe it couldn’t keep up with users clicking too fast so that’s when I tried disabling all the checkboxes any time one is clicked then reenabling them once the query succeeds. That’s when it became obvious that the behavior is odd and random.

edit I just cleared my cache in IE and reloaded the page. I was able to check and uncheck each box once successfully. Once each action had been applied to each box, it ceased working. Is this a caching issue?

       $('input[type=checkbox]').live('click', function () {
           //disable all checkboxes until it's done saving
           $('input[type=checkbox]').attr('disabled', true);
           if ($('input[id=' + $(this).attr('id') + ']:checked').length) {
               //do checked stuff including ajax call
               $.ajax({
                   url: 'EditService.svc/updatedatachecked',
                   type: 'GET',
                   data: { "code": code },
                   dataType: 'json',
                   success: function () {
                       //reenable all checkboxes
                       $('input[type=checkbox]').removeAttr('disabled');
                   },
                   error: function (a, b, c) {
                       $('.EditStatus').html("Database Error!");
                   }
           } else {
               //do unchecked stuff including ajax call
               $.ajax({
                   url: 'EditService.svc/updatedataUNchecked',
                   type: 'GET',
                   data: { "code": code },
                   dataType: 'json',
                   success: function () {
                       //reenable all checkboxes
                       $('input[type=checkbox]').removeAttr('disabled');
                   },
                   error: function (a, b, c) {
                       $('.EditStatus').html("Database Error!");
                   }
           }
       });
  • 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-25T01:48:02+00:00Added an answer on May 25, 2026 at 1:48 am

    This actually was a caching issue. I included a time stamp in each ajax call and it began working as expected.

    $('input[type=checkbox]').live('click', function () {
           //disable all checkboxes until it's done saving
           $('input[type=checkbox]').attr('disabled', true);
           if ($('input[id=' + $(this).attr('id') + ']:checked').length) {
               //do checked stuff including ajax call
               $.ajax({
                   url: 'EditService.svc/updatedatachecked',
                   type: 'GET',
                   data: { "code": code, "timestamp": timestamp },
                   dataType: 'json',
                   success: function () {
                       //reenable all checkboxes
                       $('input[type=checkbox]').removeAttr('disabled');
                   },
                   error: function (a, b, c) {
                       $('.EditStatus').html("Database Error!");
                   }
           } else {
               //do unchecked stuff including ajax call
               $.ajax({
                   url: 'EditService.svc/updatedataUNchecked',
                   type: 'GET',
                   data: { "code": code, "timestamp": timestamp },
                   dataType: 'json',
                   success: function () {
                       //reenable all checkboxes
                       $('input[type=checkbox]').removeAttr('disabled');
                   },
                   error: function (a, b, c) {
                       $('.EditStatus').html("Database Error!");
                   }
           }
       });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The code below works great except the email has all the text on one
The code below works great. I have a MySQL database that contains book titles
I have to code below - works great in IE and Opera, but does
Below is the code I have for sending email which works great. /* *
I'm really thrilled, because my code works great for me (se below), however I
The code below works great. If the Get and Use methods are in different
I have the following code below. Which works great expect I want to allow
The following code works great in IE, but not in FF or Safari. I
The code below works great. It creates a list of words occurring in the
The code below works great. It prints out items in a MySQL database as

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.