JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://github.com/malsup/form/raw/master/jquery.form.js"></script>
<html>
<head></head>
<body>
<!-- TODO: add proper action and method to the form tag -->
<form id="myForm">
<input type="file" name="myFile" id="myFile"/>
<input type="submit"/>
</form>
</body>
</html>
JavaScript
$(document).ready(function () {
$('#myFile').live('change',function(){
alert('change1');
});
});