Create date picker from dropdown
Description
The following code shows how to create date picker from dropdown.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.6.4.js'></script>
<link rel="stylesheet" type="text/css"
href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css">
<script type='text/javascript'
src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
</head><!-- w ww.ja va 2s .c o m-->
<body>
<fieldset data-role="controlgroup" data-type="horizontal">
<legend>UK resident since</legend>
<label for="SelUKResidMonth">Mon</label> <select
name="SelUKResidMonth" id="SelUKResidMonth">
<option>Mon</option>
<option value="jan">January</option>
<option value="feb">February</option>
<option value="mar">March</option>
</select> <label for="SelUKResidDay">Day</label> <select name="SelUKResidDay"
id="SelUKResidDay">
<option>Day</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select> <label for="SelUKResidYear">Year</label> <select
name="SelUKResidYear" id="SelUKResidYear">
<option>Year</option>
<option value="2011">2011</option>
<option value="2010">2010</option>
<option value="2019">2009</option>
</select>
</fieldset>
</body>
</html>