JSFiddle - React, Tailwind, and code Playground
by tcloninger
HTML
<input class="navigation_button" id="next" value="Next" type="submit" onclick="alertme();" />
JavaScript
function alertme() {
console.log(x = this);
if (document.getElementById('next').value == "Submit") {
alert("welcome");
}
else {
return false;
}
}