JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.jquery.com/jquery-1.5.1.min.js"></script>
input<input type="text" id="test"/><br/>
keyup<input type="text" id="test2"/>
JavaScript
//bind input event
$("#test").bind("input",function(){
this.value= this.value.toUpperCase();
});
//bind keyup event
$("#test2").bind("keyup",function(){
this.value= this.value.toUpperCase();
});