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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T16:00:50+00:00 2026-05-19T16:00:50+00:00

I have a calculator which has two radio buttons ( link to form )

  • 0

I have a “calculator” which has two radio buttons (link to form) you select before you perform the calculation.
To see my issue, you select the radio button marked “N-12” [to test, we just put “5” in “Slope” and “30” in “Pipe Size” and select “N-12”, then calculate], then perform the calculation everything is fine until you print.
Because people want to have a paper copy of the calculation, they often print the calculated form after it’s completed but if you’ve selected “N-12” and printed the page, it will print with the “Single Wall” radio button selected.
I’ve read that this is a bug and that you can force IE8 to recognize the checked radio button with JS, which is what I did, but it’s not working for IE6 & 7.
This is the JS that I used to correct this problem for IE8:

function toggleRadioCheckbox(el) {
if ( el.getAttribute('checked') != 'checked' ) {
    el.setAttribute('checked','checked');
}
else {
    el.removeAttribute("checked");
}

}

Does anyone know what I need to do to correct this for IE6 and 7.

  • 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-19T16:00:51+00:00Added an answer on May 19, 2026 at 4:00 pm

    Yes. Try this (requires jQuery) solution:

    // We want the change event to trigger when the radio buttons are clicked.
    // Normally IE doesn't
    // trigger change until the radio button has lost focus.  
    // Fake it with this click handler
    $('input:radio').click(function() {
        this.blur();
        this.focus();
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following text input on a budget calculator form which displays the
I have two fields which calculate a total, but I have a radio button
I have a base class called SpriteSheet which has two children, RotatedSpriteSheet and FlippedSpriteSheet.
Basically I have a form which right now has 2 drop downs with weights
Here is the scenario. I have a configurable product which has two attributes. However,
I have a calculator application in java swing, which is working properly with mouse
I have a SQL data calculation which is used as part of where clause
I have a javascript function which needs to do a numerical calculation. Some of
I have a method, which uses random samples to approximate a calculation. This method
I draw two spheres in 3d WPF which has points like Point3D(0,0,0) and Point3D(-1.0,1.0,2.0)

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.