<script src="~/Scripts/jquery-1.9.1.js"></script> <script src="~/Scripts/jquery-ui.js"></script> <link href="~/css/jquery-ui.css" rel="stylesheet" /> <script type="text/javascript"> $(document).ready(function () { $("#searchFrom").Datepicker(); // $("#searchTo").datepicker(); }); </script>
<div id="sidebar"> <input type="radio" id="dubai1" title="1" name='city' value='Dubai' checked="checked" />Dubai</br> <input type="radio" id="london1" title="2" name='city' value='London' />London</br> <input type="radio" id="bangalore1" title="3" name='city' value='Bangalore' />Bangalore</br></br> From<input type="date" id="searchFrom" /></br> To<input type="date" id="searchTo" /></br> </div>
<html> <head> <link rel="stylesheet" href="http://code.jquery.com/ui/1.11.3/themes/smoothness/jquery-ui.css"> <script src="http://code.jquery.com/jquery-1.10.2.js"></script> <script src="http://code.jquery.com/ui/1.11.3/jquery-ui.js"></script> <script> $(function() { $( "#datepicker" ).datepicker(); }); </script> </head> <body> <p>Date: <input type="text" id="datepicker"></p> </body> </html>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)