codice:
    $.fn.tuoPlugin = function () {
        ...
        return this.each(function () {
            var $parent = $(this).parent();
            ...
        })
    }