JSFiddle - React, Tailwind, and code Playground
HTML
<button id="other" class="btn btn-danger">
Show Others
</button>
JavaScript
$(function(){$('#other').click(function() {
document.getElementById("other").innerHTML = "Paragraph changed!";
});
});
function play_int() {
$('#play').val("pause");
// do play
}
function play_pause() {
$('#play').val("play");
// do pause
}