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\
I used .prop('disabled', true) and it worked like a charm, no redefining, simple.
Had to time it out by 125ms as it interfered with the prop from Bootstrap Dropdown.