JSFiddle - React, Tailwind, and code Playground
HTML
<input type="button" value="test">
JavaScript
$(document).ready(function(){
$('input').each(function (index, element) {
$(element).click(function (event) {
if (!event.shiftKey && !event.ctrlKey) {
alert("test");
}
else {
alert("blah");
}
});
});
});