How can I create a function / constructor (not sure how to call it) that is integrated with Jquery selector.
For example:
$('some selector').myFunction();
Where 'some selector' is any normal selector, and myFunction is a function that runs on these elements.