Lep*_*eus 21

要显示与ID为'your_elem'的输入相关联的日期选择器,您可以使用以下内容:

jQuery('#your_elem').datepicker("show");
Run Code Online (Sandbox Code Playgroud)


Dav*_*ick 2

$('#datepickerid').focus()应该可以解决问题。