JSFiddle - React, Tailwind, and code Playground

by MarkKramer

HTML

<a href="#">This is an object</a>

JavaScript

(function($){
    $.fn.foo = function(){
        alert("HI");
    };
})(jQuery);

$('a').foo();