Display popup from anchor
Description
The following code shows how to display popup from anchor.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.9.1.js'></script>
<link rel="stylesheet" type="text/css"
href="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.css">
<script type='text/javascript'
src="http://code.jquery.com/mobile/1.3.0/jquery.mobile-1.3.0.min.js"></script>
</head><!-- w w w. jav a 2 s. c o m-->
<body>
<a href="#popupBasic" data-rel="popup" customAttr="value">Basic Popup</a>
<div data-role="popup" id="popupBasic">
<p>This is a completely basic popup, no options set.</p>
</div>
</body>
</html>