Get a free trial // Grow your CSS skills // Land your dream job

Show hide not working in IE

  • # September 29, 2009 at 8:21 am


    I have a slight problem with this code:

    if ($(typeTwo).is(‘:checked’) || $(typeThree).is(‘:checked’)) {
    } else {

    return false;

    It works fine in all browsers except IE8 (did not test on other versions of IE).

    Here is what is expected functionality of the code:
    I have a form with four radio buttons and if two of the buttons(typeTwo and TypeThree) is clicked a textarea (with its label and a little hint at the bottom) must appear otherwise it must not.

    I am not sure what if there is anything I am missing something…

    Thanking you.

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed