Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想删除弹出窗口,使其成为静态的。
这样我就可以选择日期而无需先单击该字段。
http://jqueryui.com/datepicker/#default
将日期选择器分配给 div 不要输入字段,然后它将显示为静态
$(function() { $( "#datepicker").datepicker(); }); <div id="datepicker"></div>
参考:
文档