How can I write a plugin/function and then be able to call it like this(no selector required)?
$.function()
now I'm writing my plugins something like this:
(function($){
$.fn.extend({
//function name
myFunction : function(){
//...........
}
});
})(jQuery);