Create button group
Description
The following code shows how to create button group.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script>
<script type="text/javascript"
src="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.js"></script>
<link rel="stylesheet" type="text/css"
href="http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.css">
<!-- www . j a v a 2 s . c o m-->
</head>
<body>
<div id="buttons" data-role="controlgroup" data-type="horizontal">
<button id="btn1">Do 1</button>
<button id="btn2">Do 2</button>
<button id="btn3">Do 3</button>
</div>
</body>
</html>