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://trentrichardson.com/examples/timepicker/。我希望当用户拖动“分钟”滑块时增加 15。所以分钟只能是 0、15、30、45。那怎么可能呢?
提前致谢
检查您发送的链接上的示例 #6,您可以设置“stepMinute”选项:
$('...').datetimepicker({ stepMinute: 15 });
玩得开心!