问题 My question is the same as the one here: Highstock date input jquery ui datepicker position changes But I'm using Bootstrap datepicker instead of jQuery. I noticed it has on("show", ... ), on("hide" ...) instead of beforeShow, onClose respectively. But then I don't really know how to change their bodies to work with my datepicker. 回答1: try this setTimeout(function () { $('input.highcharts-range-selector', $(chart.container).parent()) .datepicker({ format: "dd/mm/yyyy", todayBtn: "linked",