JSFiddle - React, Tailwind, and code Playground
by olli
HTML
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0b2/jquery.mobile-1.0b2.min.css">
<script src="http://code.jquery.com/jquery-1.6.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0b2/jquery.mobile-1.0b2.min.js"></script>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Test</title>
</head>
<body>
<div data-role="page" id="a">
<div data-role="header">
<h1>Test</h1>
</div>
<div data-role="content" id="content">
<a id="link_enable">enable</a><br/>
<input type="submit"disabled="true" value="hallo" id="button"/>
</div>
</div>
</body>
</html>
JavaScript
$(document).ready(function() {
$('#link_enable').bind('click', function() {
$('#button').button('enable');
});
});