JSFiddle - React, Tailwind, and code Playground
HTML
<input type="button" onclick="autocomplete();" value="Click me!" />
<input type="button" onclick="whatever();" value="Me too please!" />
JavaScript
function autocomplete() {
alert("This doesn't work, only in IE compatible mode or other, lder browsers :(");
}
function whatever() {
alert("This works, obviously...");
}