Always visible jQuery UI DatePicker -


how can use jquery ui display always-visible datepicker widget?

it's simple. keep jquery code, assign <div> instead of input box.

date: <div id="datepicker"></div>  <script>     $(function() {         $("#datepicker").datepicker();     }); </script> 

a functional example lives @ jquery ui webpage datepicker widget, , i've included 1 below.

$(function() {    $("#datepicker").datepicker();  });
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>  <link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/themes/smoothness/jquery-ui.css">  <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.11.4/jquery-ui.min.js"></script>    <div id="datepicker"></div>


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -