jQuery datepicker 日历选择赋值给input

XML/HTML Code
- <label id="date_label" for="date">Picke A Date</label>:
- <input class="form-control" id="date" type="text" placeholder="" title="format : "/>
- <div id="date-inline"></div>
JavaScript Code
- <script>
- $(document).ready(function() {
- $('#date').datepicker({theme:'green'});
- });
- </script>
原文地址:http://www.freejs.net/article_biaodan_755.html