jquery disable a code example Example: using jquery how to add disabled to a html tag $(element). prop('disabled', true);