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