JSFiddle - React, Tailwind, and code Playground

by jasper

HTML

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0rc2/jquery.mobile-1.0rc2.min.css">
<script src="http://code.jquery.com/mobile/1.0rc2/jquery.mobile-1.0rc2.min.js"></script>
<div data-role="page">
    <div data-role="content">
        <a data-role="button">Some Text</a>
    </div>
</div>

JavaScript

$(function () {
    var num = 1;
    $('a').bind('click', function () {
        $(this).find('.ui-btn-text').text('Updated Text (' + num++ + ')');
    });
});