I just want to disable the ability for a user to click on an element for some condition. Here is some of the code I am working with:
$(\'#navigation a\
Use off() method after click event is triggered to disable element for the further click.
off()
$('#clickElement').off('click');