I want to add my custom function in jquery library so that i can access them using $ sign.
I am trying using this way but its not working
$.fn.myFunction = function() {
alert('test');
}
and i also want to know that can we rename any function which already available in jquery?