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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T06:58:19+00:00 2026-06-08T06:58:19+00:00

I am using selectElement.attr(‘disabled’, ‘disabled’); to disable a dropdown in IE6, and using selectElement.removeAttr(‘disabled’);

  • 0

I am using

selectElement.attr('disabled', 'disabled');

to disable a dropdown in IE6, and using

selectElement.removeAttr('disabled');

to re-enable it. But it remains disabled and greyed out. Anyone has any ideas?

Thanks

  • 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-08T06:58:21+00:00Added an answer on June 8, 2026 at 6:58 am
    • First thing to check: Your jQuery version.
      I found this reference to a jQuery bug in IE6 with removeAttr on select elements. This bug is in 1.6.2, and is marked as fixed. Make sure you’re on the latest version of jQuery, currently 1.7.2.

    • Second thing to check: Your HTML.
      I found this forum post, where it seems that IE6 requires the element to have the same id and name attributes for this to work.

    • Third suggestion:
      Try using jQuery’s .prop() and .removeProp() methods instead of the attr methods. (manual page: http://api.jquery.com/prop/ and http://api.jquery.com/removeprop/)

    Finally, I will echo what has probably been said to you many times already: please stop supporting IE6. The sooner we can all forget about this browser the better.

    It’s worth pointing out that jQuery are planning to drop support for IE6, IE7 and IE8 (yes, all three of them) in v2.0, due out some time in the middle of next year. You’ll still be able to use older versions of jQuery, of course, but it does make the point about how far behind you are if you’re still on IE6.

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

Sidebar

Related Questions

I've seen it's jquery equivalent: $('input[value=something]'); But how do you select it using pure
I have a select element, that posts (just fine) when changed using $.post. But
I'm trying to create an onchange event using javascript on a select element. But
I want to bind boolean value to select element using KO v2.1.0, but obviously
I am using jquery autocomplete combobox and everything is ok. But I also want
I'm using Seleniunm to test my webpage. I have a dropdown box that I
I am using a plugin to create a real slick jquery select (dropdown) menu.
In jQuery, you can stop a <select> from opening it's dropdown menu by using
Using a CSS image sprite, I'm creating an 'interactive' image where hovering over certain
Using a populated Table Type as the source for a TSQL-Merge. I want to

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.