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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T03:39:43+00:00 2026-06-15T03:39:43+00:00

Page using: jquery-1.8.0.min.js and jquery-ui-1.8.23.custom.min.js $( ‘#d-select’ ).click(function() { $.ajax({ type: ‘POST’, url: ‘ajax.php’,

  • 0

Page using: jquery-1.8.0.min.js and jquery-ui-1.8.23.custom.min.js

$( '#d-select' ).click(function() {
    $.ajax({
        type: 'POST',
        url: 'ajax.php',
        async: true,
        dataType: 'html',
        data: {
            a: 'get_popup',
            sb: 1
          },
                                                    success: function(txt){
            if (txt) {
                $( '#dialog' ).html(txt);
                $( '#dialog' ).dialog( 'open' );
            }else{
                alert('Problem generating popup');
            }
        }
    });
  });

txt returns HTML table with the following javascript:

<table><tr....................lots of data here</tr></table>
    <script language='JavaScript'>
                    <!--
                    function toggle(source) {
                      checkboxes = document.getElementsByName('changeD[]');
                      for each(var checkbox in checkboxes)
                        checkbox.checked = source.checked;
                    }
                    //-->
                </script>

It works in all browsers except IE

I know its related to the following:
http://bugs.jquery.com/ticket/9221

But dont know what to change to fix it..

  • 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-15T03:39:45+00:00Added an answer on June 15, 2026 at 3:39 am

    Try this

    <script type="text/javascript">
    function toggle(source) {
       checkboxes = document.getElementsByName('changeD[]');
       for(i=0; i<checkboxes.length; i++) {
          var checkbox=checkboxes[i];
          checkbox.checked = source.checked;
       }
    }
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using jQuery UI: <script type=text/javascript src=/jscripts/jquery-1.4.min.js></script> <script type=text/javascript src=/jscripts/jquery-ui-1.8.2.custom.min.js></script> and IE7 (corporate rule!)
How can I select the contents of the whole page using jQuery for later
i am adding collection of radio buttons to my page using jQuery below $(document).ready(function()
How to get previous page URL using jQuery? I am using the following code
I am using jquery's $.post() function to add a list entry to the mysql
I am using JQuery within a custom AJAX user control (part of a home
I am using Jquery dialog box(jquery-ui-1.8.11.custom.min.js). The source for this dialog box is an
In a web page using jQUery 1.7.1 and jQUery-UI 1.8.18, if I output $.ui
I'm building a multi-section splash page using jQuery scrollTo to navigate between sections. There's
i'm trying to validate an html page using jquery, but nothing happens. it's a

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.