JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html>
    <head>
        
        <title>Tutorial #2</title>
        <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.css" />
        <script src="http://code.jquery.com/jquery-1.6.1.min.js"></script>
        <script src="http://github.com/malsup/blockui/raw/master/jquery.blockUI.js?v2.31"></script>
        <script src="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.js"></script>
        <script>
        function kk(){
        $.blockUI({ message: $('#loading') }); }
        </script>
        
    </head>
    <body>
        
        <div data-role="page">
            <div data-role="header">
                <h1>Header Page 1</h1>
            </div><!-- /header -->
            <div data-role="content">
                <button onclick="kk()">Button</button>
            </div><!-- /content -->
            <div data-role="footer">
                <h4>Footer Page 1</h4>
            </div><!-- /footer -->
        </div><!-- /page -->
        <div id="loading" class="ui-loader ui-body-a ui-corner-all">
            <span class="ui-icon ui-icon-loading spin"></span>
            
            
            
            
            
            
            
            <h1>loading</h1>
        </div>
    </body>
</html>

JavaScript

$.blockUI({ message: $('#loading') });