如何在ASP.NET MVC中添加小时和分钟的时间选择器 [英] How to I add time picker with hour and minutes in ASP.NET MVC

查看:103
本文介绍了如何在ASP.NET MVC中添加小时和分钟的时间选择器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有问题,时间选择器显示时间只有我们的差距,但我希望时间选择器由用户单独选择小时和分钟

请帮助...



我的尝试:



I have problem to with time picker it display just time with half an our gap but i want the time picker to select hours and minutes individually by user
please help ...

What I have tried:

<input type="text" id="intimetimepicker" class="form-control">







$('#intimetimepicker').timepicker()

推荐答案

('#intimetimepicker')。timepicker()
('#intimetimepicker').timepicker()


您没有指定应用程序正在使用哪个插件。我假设是jQuery timepicker。



有一个例子允许用户从单独的文本框中选择时间和分钟。也许这就是你要找的?

Francois Gelinas的jQuery UI Time Picker [ ^ ]
You didn't specify which plugin the application is using. I'm assuming jQuery timepicker.

There is an example which allow the user to pick the time and minute from a separate textbox. Maybe this is what you looking for?
jQuery UI Time Picker by Francois Gelinas[^]


这篇关于如何在ASP.NET MVC中添加小时和分钟的时间选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆