JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://code.jquery.com/jquery-1.11.2.min.js"></script>
<a href="#" class="ajax">Ajax finished</a>
<div class="content">
</div>
JavaScript
$(document).ready(function() {
$('.ajax').on('click', function() {
// ajax did something and added element to dom
$('.content').append('hello');
console.log($('html').html());
});
});