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: 
what you need to do is Call 'unbind' method first and then 'bind' method to write new click event of Jquery,
and also make sure that all Jquery Plugins loaded properly, below is an example : 

```
$("#button").unbind("click").bind("click", function(){
        alert("this is Overridden click event!");
    });

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

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

```