JSFiddle - React, Tailwind, and code Playground

by bittersweetryan

HTML

<a href="#" id="readmore">"read more" is the new "click me"</a>

JavaScript

var obj = {
    init : function(){
        console.log(this);
        $("#readmore").on('click',function(){
            console.log(this);
        });     
    }
}

obj.init();