JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.js"></script>
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.css">
<div data-role="page">
<div data-role="header">
<h1>Title</h1>
</div><!-- /header -->
<div data-role="content">
<fieldset data-role="controlgroup" data-type="horizontal" id="locate-me">
<input type="checkbox" name="loc" id="loc" />
<label for="loc">Locate me</label>
</fieldset>
</div>
</div>
JavaScript
$("#loc").click(function(){
alert('locate clicked!');
});