jQuery ui Date Picker from to date range JS Script <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.2/jquery-ui.min.js"></script> CSS style sheet <link href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/base/jquery-ui.css" rel="stylesheet"> HTML From Date: <input type = "text" id = "from"> To Date: <input type = "text" id = "to"> <script> jQuery(document).ready(function(){ function customRange(input) { if (input.id == 'to') { var minDate = new Date($('#from').val()); var maxDate = new Date($('#from').val()); minDate.setDate(minDate.getDate()); ...
Posts
Showing posts from October, 2019