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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T02:03:26+00:00 2026-05-21T02:03:26+00:00

The above code works well in all browsers except in IE8 where it only

  • 0

The above code works well in all browsers except in IE8 where it only works in compatibility-mode. I removed all the markup inside the DIVs, there where huge TABLEs.
In IE8 when I check the checkbox(‘rf’), it is suposed to show only two DIVS(#frmRF and #frmAntenas), but it’s also showing the DIV(#frmTX), if you think the markup is not ok, it was generated by Zend_Form, I’d like to not have a hidden for each checkbox I create.

 <script>
$('input[name="rf"]').change(function(){
    if($(this).is(':checked')){
        $("#frmRF").show();
        $("#frmAntenas").slideDown();
    }else{
        $("#frmRF").slideUp('slow');
        if(!$('input[name="tx"]').is(':checked'))
            $("#frmAntenas").slideUp('slow');
    }
});
</script>

<TABLE>
<TR>
    <TD>
        <INPUT value=0 type=hidden name=rf ><INPUT id=rf value=1 type=checkbox name=rf> <FONT class=legenda>RF</FONT>
    </TD>
</TR>
</TABLE>

<div id=frmAntenas style="display:none;">
<fieldset> 
<legend>Especificações Técnicas da Solicitante:</legend>

    <div style='margin-top: 10px' id='frmRF' style="display:none;">

    </div>

    <div style='margin-top: 10px' id='frmTX' style="display:none;">

    </div>

</fieldset> 
</div>
  • 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-21T02:03:26+00:00Added an answer on May 21, 2026 at 2:03 am

    First of all sorry, I have no clue how to comment, don’t see any button for it.
    I think I’ve had a similar problem for a while and I have turned off slidedown for IE. I think this is just something IE doesn’t handle too well..
    So I think you should try this and see if it works:

       <script>
        $('input[name="rf"]').change(function(){
        var speed  = $.browser.msie ? 0 : "slow";
            if($(this).is(':checked')){
                $("#frmRF").show();
                $("#frmAntenas").show(speed);
            }else{
                $("#frmRF").hide(speed);
                if(!$('input[name="tx"]').is(':checked'))
                    $("#frmAntenas").hide(speed);
            }
        });
        </script>
    

    I believe slideup/down does the same as showing and hiding stuff (“slow”), so i adjusted that.

    Lauw

    Edit:

    It worked for me when I put it online and changed your HTML to the following:

    <div id=frmAntenas style="display:none;">
    <fieldset> 
    <legend>Especificações Técnicas da Solicitante:</legend>
    
        <div id='frmRF' style="display:none; margin-top: 10px">
    
        </div>
    
        <div id='frmTX' style="display:none; margin-top: 10px">
    
        </div>
    
    </fieldset> 
    </div>
    

    The thing here is that you were defining ‘style’ twice on the div, so it did not catch on to the display:none;
    Editted answer after commenting.
    Hope this solves it,

    Lauw

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The following code is visual basic, .NET, ASP... all of the above? Can anybody
include 'header.php'; // ... some code header('Location:index.php'); exit; The above code keeps giving me
@Column(name=DateOfBirth) private Date dateOfBirth; I specifically need the above code to create a column
$doba = explode(/, $dob); $date = date(Y-m-d, mktime(0,0,0, $doba[0], $doba[1], $doba[2])); The above code
In Java 5 and above you have the foreach loop, which works magically on
I get the above error whenever I try and use ActionLink ? I've only
The above error message comes up just before SQL Server marks the database as
The image above is from Wikipedia's entry on AVL trees which Wikipedia indicates is
I encountered the above error message after applying the OutputCache attribute on ActionResult methods
I keep getting tasks that are above my skill level. How can I address this without coming accross as grossly incompetent?

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.