Create a dialog with only button
Description
The following code shows how to create a dialog with only button.
Example
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet"
href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script
src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
</head><!-- w ww . ja va 2 s.co m-->
<body>
<div data-role="page">
<div data-role="content">
<a href="#lol" data-rel="dialog">Filter</a>
</div>
</div>
<div data-role="dialog" id="lol">
<div data-role="content">
<p>
<input type="button" value="OK" />
</p>
</div>
</div>
</body>
</html>