How to Toggle Disabled with jQuery

Do you want to toggle the disabled attribute for an input field?

You can use it on checkboxes, radio buttons… well, anything that supports the disabled attribute.

Toggle Disabled Function

To use this function you would call it like this:


3 Responses to “How to Toggle Disabled with jQuery”

  1. Ian S February 24, 2015 at 5:32 pm #

    Thank you! works like a charm, very simple.

    • Rick February 24, 2015 at 10:18 pm #

      You’re welcome Ian !

  2. Danuka April 26, 2015 at 9:12 am #

    Thank you! it works save my day//

Leave a Reply

Add <code> Some Code </code> by using this tags.