JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="https://code.jquery.com/mobile/1.4.5/jquery.mobile-1.4.5.min.js"></script>
<div data-role="page" data-theme="d" id="home">
<div data-role="header" id="header">
<h1>Doko</h1>
</div>
<div data-role="content" id="content">
<a data-role="button" id="button">Test</a>
</div>
<div data-role="footer">
<h1>Footer</h1>
</div>
</div>
JavaScript
$('#home').bind('pageinit', function () {
alert('I');
});