Suggest me any JavaScript to pick the date and time .

NOTE: I want to use only one file for date and time picking.

I already see this:

http://www.eyecon.ro/bootstrap-datepicker/

and

http://jdewit.github.com/bootstrap-timepicker/index.html

推荐答案

If you are still interested in a javascript api to select both date and time data, have a look at these projects which are forks of bootstrap datepicker:

The first fork is a big refactor on the parsing/formatting codebase and besides providing all views to select date/time using mouse/touch, it also has a mask option (by default) which lets the user to quickly type the date/time based on a pre-specified format.

Jquery相关问答推荐

这是否会导致内存泄漏?

如何定位 prism.js 脚本中包含的代码?

将日期时间从 javascript 传递给 c# (Controller)

将 HTML5 Canvas 转换为要上传的文件?

如何在 jQuery 中获取浏览器滚动位置?

ASP .NET MVC 在每个字段级别禁用客户端验证

SCRIPT7002:XMLHttpRequest:网络错误 0x2ef3,由于错误 00002ef3 无法完成操作

清除并刷新 jQuery Chosen 下拉列表

如何在jQuery中 Select 具有特定ID的所有元素?

为特定请求禁用 ajaxStart() 和 ajaxStop()

如何同时使用 requireJS 和 jQuery?

jquery变量语法

如何触发href元素的点击事件

使用 jQuery 拖放防止单击事件

如何检测 window.print() 完成

Underscore.js 和 jQuery 互补吗?

如何在 Bootstrap 中创建切换按钮

超时 jQuery 效果

如何确定滚动高度?

如何使用 jquery 使下拉列表只读?