JSFiddle - React, Tailwind, and code Playground
HTML
<html>
<head>
<title>Test for Focusin</title>
</head>
<body>
<div class="focus">
<form>
<input type="checkbox" value="Will focus on and off" />
<label>Hi Focusin is not working in Chrome</label>
</form>
</div>
</body>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script>
$(document).ready(function()
{
$("form").unbind("focusin").bind("focusin", function (e) {
$(this).css("background","blue");
});
$("form").unbind("focusout").bind("focusout", function (e) {
$(this).css("background","red");
});
});
</script>
</html>