I\'m searching for information about that - \"How to create custom (own) JQuery function and how to use it\"
I\'ve searched in Google, but I didn\'t found informatio
you can use it like this
$(document).ready(function() { $('#button').click(function(){ $(this).myFunction(); }); $.fn.myFunction = function() { alert('test'); } });