请使用javascript为简单的Web应用程序提供时间戳 [英] Please provide a timepicker using javascript for a simple web application
本文介绍了请使用javascript为简单的Web应用程序提供时间戳的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有两个文本框,用于在网页中输入时间作为输入。我需要计算两个文本框中给出的时间之间的小时数。请使用javascript提供timepicker。
我的尝试:
i使用了如下代码,但它不起作用。
$(function(){
$('#txttimein')。timepicker({
minuteStep :15
});
i have two text boxes for giving time as input in a web page. i need to calculate the hours between time given in two text boxes. please provide the timepicker using javascript.
What I have tried:
i have used code as below but its not working.
$(function () {
$('#txttimein').timepicker({
minuteStep: 15
});
推荐答案
(function(){
(function () {
('#txttimein')。timepicker({
minuteStep:15
});
('#txttimein').timepicker({
minuteStep: 15
});
它不太像那个。
我们不会为你工作。
如果你想让别人写你的代码,你必须付钱 - 我建议你去Freelancer.com和在那里问。
但要注意:你得到你所支付的费用。支付花生,买猴子。
发展的概念就像这个词所暗示的那样:系统地使用科学和技术知识来满足特定的目标或要求。 BusinessDictionary.com [ ^ ]
这不是同一回事如果我找不到合适的代码,请快速谷歌并放弃。
所以要么付钱给某人,要么自己学习如何写。我们不是为你做这件事。
It doesn't quite work like that.
We do not do your work for you.
If you want someone to write your code, you have to pay - I suggest you go to Freelancer.com and ask there.
But be aware: you get what you pay for. Pay peanuts, get monkeys.
The idea of "development" is as the word suggests: "The systematic use of scientific and technical knowledge to meet specific objectives or requirements." BusinessDictionary.com[^]
That's not the same thing as "have a quick google and give up if I can't find exactly the right code".
So either pay someone to do it, or learn how to write it yourself. We aren't here to do it for you.
这篇关于请使用javascript为简单的Web应用程序提供时间戳的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文