disabled element jquery code example
Example 1: using jquery how to add disabled to a html tag
$(element). prop('disabled', true);
Example 2: disable input field with jquery
// Disable #x
$( "#x" ).prop( "disabled", true );
// Enable #x
$( "#x" ).prop( "disabled", false );
Example 3: jq html remove disabled
$('.disabledCheckboxes').removeAttr("disabled");
Example 4: enable input jquery
$('input').prop('disabled', false);