Create checkbox list
Description
The following code shows how to create checkbox list.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.6.js'></script>
<link rel="stylesheet" type="text/css"
href="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.css">
<script type='text/javascript'
src="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.js"></script>
</head><!--from w w w .j a v a2 s. com-->
<body>
<div data-role="page" id="jqm-home" class="type-home">
<div data-role="content">
<div data-role="fieldcontain">
<fieldset data-role="controlgroup">
<legend>Select Available Times:</legend>
<input type="checkbox" name="Avail500" id="Avail500" class="custom" />
<label for="Avail500">5:00</label>
<input type="checkbox"
name="Avail630" id="Avail630" class="custom" />
<label for="Avail630">6:30</label>
<input type="checkbox" name="Avail930"
id="Avail930" class="custom" />
<label for="Avail930">9:30</label>
</fieldset>
</div>
</div>
</div>
</body>
</html>