JSFiddle - React, Tailwind, and code Playground

by bluey

HTML

this is page A

<div class='ajaxloadedcontent'>
    <div class='dosomething'>
        this one doesnt
    </div>
</div>

<div class='dosomething'>
    this one works
</div>

JavaScript

// this is page A

$('.dosomething').click(){
	alert('clicked!');   
};