JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Testcase for jQuery bug report 7214 - jsFiddle demo by jitter</title>
<script type='text/javascript' src='http://code.jquery.com/jquery-1.4.3.min.js'></script>
<link rel="stylesheet" type="text/css" href="/css/normalize.css"/>
<link rel="stylesheet" type="text/css" href="/css/result-light.css"/>
<style type='text/css'>
body {
background-color: transparent;
padding: 10px;
}
</style>
</head>
<body>
<script type="text/javascript">
jQuery.readyWait += 2;
var go = function () {
$("#foo").attr("value", " Click me again. So jQuery knows it can be ready ");
jQuery.ready(true);
}
</script>
<p><input id="foo" type="button" onclick="go()" value=" Click me twice. So jQuery knows it can be ready " /></p>
<script type='txt/javascript'>
$(function(){
go = function() { return false; }
$("#foo").attr({ value: " Mission accomplished ", disabled: true});
alert("jQuery thinks DOM is ready.");
});
</script>
</body>
</html>