Question: I am working with JavaScript and JQuery, there is a reference for click event from jquery.js,

Here I am trying to override the click event, its not happened.
Even though overridden still it is fairing old one not new one.
Is there any way to load event based on priority wise?

Answer: 
if I have understood correctly this works for you:

```
$('.xxx').off('click').on('click', function(e) {
    e.preventDefault();
}

```
Maybe you need to "unbind" click event which defined as inline attribute. In this case you can use $.removeAttr() method.

```
$(SELECTOR).removeAttr('onclick');

```