JSFiddle - React, Tailwind, and code Playground

HTML

<div id="test"></div>

JavaScript

$('#test').load('/does_not_exist', function() {
    alert('success handler always trigggered');
});