How to create jQuery function that works without selector?
function, jquery
Solution
Just assign it to the `jQuery` object.
jQuery.myCustomFunction = function() {};
Problem
I want to create a extension for jQuery like `$.ajax()` or `$.extend()` but unlike `$("selector").css()`. So i can call my custom jQuery function like this: `$.myCustomFunction("args");`