I would like to know how I can create a global variable (or global element, I do not know how to call it) like in several plugins I see. Jquery example where to call any function related to it I just have to instantiate the symbol #
or call the function Jquery
before any internal function of the plugin.
I want in my application to be able to call something like:
MeuElemento.Cria(args);
MeuElemento.Salvar(args);
MeuElemento.Outrafunção(args);
How do I do this? Can someone please get me an example?