Put form controls inside popup
Description
The following code shows how to put form controls inside popup.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.8.3.js'></script>
<link rel="stylesheet" type="text/css"
href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css">
<script type='text/javascript'
src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
</head><!--from w w w. ja va2 s. co m-->
<body>
<a href="#popupBasic" data-rel="popup">Open Popup</a>
<div data-role="popup" id="popupBasic">
<div data-role="fieldcontain">
<label for="input"> Fieldname </label>
<input type="text" id="input" value=""/>
</div>
</div>
</body>
</html>