SyntaxFix
Write A Post
Hire A Developer
Questions
You can disable the event by applying following code:
with .attr() API
.attr()
$('#your_id').attr("disabled", "disabled");
or with .prop() API
.prop()
$('#your_id').prop('disabled', true);