JSFiddle - React, Tailwind, and code Playground
by praveen_jegan
HTML
<div id="controls">
<input type="button" id="prev" name="prev" value="Prev" disabled="" />
<input type="button" id="next" name="next" value="Next" />
<input type="button" id="exit" name="exit" value="Exit" />
</div>
JavaScript
$(document).ready(function () {
$('#next').bind('click', next);
$('#prev').bind('click', prev);
$('#exit').bind('click', exit);
function next() {
alert("next");
}
function prev() {
alert("prev");
}
function exit() {
alert("exit");
}
});