Comp: Datepickerhelp wanted
倉庫指標
- Star
- (11,194 star)
- PR 合併指標
- (平均合併 19天 12小時) (30 天內合併 2 個 PR)
描述
When create a datepicker for a div (non-input) elementm the show/hide functions don't work.
<div id="datepicker"></div>
<link rel="stylesheet" href="https://code.jquery.com/ui/1.14.1/themes/base/jquery-ui.css">
<script src="https://code.jquery.com/jquery-3.7.1.js"></script>
<script src="https://code.jquery.com/ui/1.14.1/jquery-ui.js"></script>
<script>
$("#datepicker").datepicker();
$("#datepicker").datepicker("hide");
</script>